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-weeks 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.

Date::Utils v0.0.1

Provides helpful date routines for calendar creation

Authors

  • Tom Browder

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Date::Utils

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.