Date-Gregorian
view release on metacpan or search on metacpan
lib/Date/Gregorian.pm view on Meta::CPAN
(unless the sequence is all empty). The limit parameter determines
the end of the sequence, together with the relation parameter: '<'
excludes the upper limit from the sequence, '<=' includes the upper
limit, '>=' includes the lower limit and '>' excludes the lower
limit. The step parameter is optional. It must be greater than
zero and defines how many days the dates in the sequence lie apart.
It defaults to one.
Each iterator maintains its own state; therefore it is legal to run
more than one iterator in parallel or even create new iterators
within iterations.
=head2 set_easter
I<set_easter> computes the date of Easter sunday of a given year,
taking into account how the date object was configured.
=head2 set_weekday
I<set_weekday> computes a date matching a given weekday that is
close to the date it is applied to. The optional relation parameter
lib/Date/Gregorian/Business.pm view on Meta::CPAN
sequence of dates, while skipping non-business days. The business
day closest to the current date is always the first one to be
visited (unless the sequence is all empty). The limit parameter
determines the end of the sequence, together with the relation
parameter: '<' excludes the upper limit from the sequence, '<='
includes the upper limit, '>=' includes the lower limit and '>'
excludes the lower limit.
Each iterator maintains its own state; therefore it is legal to run
more than one iterator in parallel or even create new iterators
within iterations. Undefining an iterator after use might help to
save memory.
=item get_alignment
I<get_alignment> retrieves the alignment (either 0 for morning or
1 for evening).
=back
=head2 Configuration
( run in 0.518 second using v1.01-cache-2.11-cpan-71847e10f99 )