Simon Wistow > OurCal-1.2 > OurCal::Month

Download:
OurCal-1.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

OurCal::Month - a representation of an OurCal::Month

SYNOPSIS ^

    my $month = OurCal::Month->new( date => '2007-11');

METHODS ^

prev

Returns the previous month as an object

next

Returns the next month as an object.

as_string

Returns this month as a string

is_this_span

Calls is_this_month

is_this_month

Returns whether this month object is also the current month in the real world

days

Returns an array of all the days in this month as objects.

number_of_weeks

Returns the number of weeks in this month.

syntax highlighting: