README
NAME
Date::Utils - Provides helpful date routines for calendar creation
SYNOPSIS
use Date::Utils;
DESCRIPTION
Date::Utils is a collection of routines to help users calculate
certain dates in relation to other dates provided by Raku's powerful
Date
class.
Current routine provided:
nth-day-of-week-in-month
sub nth-day-of-week-in-month(
:$year!, :$month!, :$nth! is copy,
:$day-of-week! where {0 < $_ <= 7},
:$debug
--> Date) {...}
If $nth
is greater than the actual number of day-of-week
s in
the desired month or if that number is negative, the date of its last appearance in
that month is returned.
AUTHOR
Tom Browder <[email protected]>
COPYRIGHT AND LICENSE
Ā© 2023 Tom Browder
This library is free software; you may redistribute it or modify it under the Artistic License 2.0.