NAME

App::JobLog::Log::Day - collects events and vacation in a complete day

VERSION

version 1.042

DESCRIPTION

App::JobLog::Log::Day gathers all the events occurring in a particular day to see how much vacation time applies.

METHODS

new

Your basic constructor. It can be called on the class or an instance.

Whether this day summarizes notes rather than events.

skip_flex

Whether this days is ignoring flex time.

time_remaining

Determines how much work was done this day relative to what was expected.

events

Returns reference to list of events occurring in this day. These are work events, not vacation.

last_event

Returns last event of the day, if any.

vacation

Returns reference to list of vacation events occurring in this day.

synopses

Returns reference to list of App::JobLog::Log::Synopsis objects.

is_empty

Whether period contains neither events nor vacation .

times

Count up the amount of time spent in various ways this day.

display

display expects a previous day object, or undef if there is no such object, a format specifying column widths, a hash reference containing various pieces of formatting information, and the screen width -- -1 means do not wrap.

It prints a report of the events of the day to STDOUT.

pseudo_event

Generates an App::JobLog::Log::Event that encapsulates the interval of the day.

AUTHOR

David F. Houghton <dfhoughton@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by David F. Houghton.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.