Date-Simple-Month
    
    
  
  
  
view release on metacpan or search on metacpan
lib/Date/Simple/Month.pm view on Meta::CPAN
    my $cur_month  = $month->month;
    
    my @dates = $month->dates;
    my @wraparound_dates = $month->wraparound_dates; # From Sunday (default)
    my @wraparound_dates_from_monday = $month->wraparound_dates(1);
    my @wraparound_dates_from_tuesday = $month->wraparound_dates(2);
=head1 DESCRIPTION
Date::Simple::Month is a subclass of Date::Range that represents a complete calendar month
consisted of Date::Simple objects.
=head1 METHOD
=head2 new
    my $month = Date::Simple::Month->new(Date::Simple $ds); # the month includes $ds
    my $month = Date::Simple::Month->new(); # this year, this month
    my $month = Date::Simple::Month->new(int $month); # this year, $month
    my $month = Date::Simple::Month->new(int $year, int $month); # $year, $month
( run in 0.779 second using v1.01-cache-2.11-cpan-5dc5da66d9d )