NAME

OurCal::Day - a representation of a day in OurCal

SYNOPSIS

my $day = OurCal::Day->new( date => "2007-11-12");

METHODS

day_of_week

What day of the week it is (Monday is 1, Sunday is 7)

day_of_month

What day of the month it is

is_first_day_of_month

IS this the first day of the month

is_last_day_of_month

Is this the last day of the month.

is_this_span

Calls is_today

is_today

Returns whether or not this is today in the real world.

month

Returns the month object this belongs to.

has_events

Returns whether this day has events.

events

Returns the events for this day.

as_string

Returns this day as a string

as_long_string

Returns the day as a long, wordy, almost, dare I say it, verbose string.

prev

Returns the previous day.

next

Returns the next day