App::JobLog::Log::Synopsis - consolidates App::JobClock::Log::Event objects for display
version 1.042
App::JobLog::Log::Synopsis represents a collection of App::JobLog::Log::Event objects merged together according to some merging rule.
Only exported function of App::JobLog::Log::Synopsis, collect exects a reference to a App::JobLog::Log::Day and a merge level. It then generates all the synopses appropriate to the given level in the given day, storing these in the day under the key synopses.
collect
synopses
DateTime object representing first moment in first event in synopsis.
Returns unformatted string containing all unique descriptions in events described, listing them in the order in which they appeared and separating distinct events with semicolons when they end in a word character.
Returns unformatted string containing all unique tags in events described, listing them in alphabetical order.
Returns stringification of tags in the events described, sorting them alphabetically and separating distinct tags with commas.
Accessor for events in Synopsis. Returns these as list rather than reference.
Accessor for last event in synopsis.
Whether all events contained in this synopsis are adjacent.
Whether all events contained in this synopsis occur in the same day.
Duration in seconds of all events contained in this Synopsis.
Formats time interval of events.
David F. Houghton <dfhoughton@gmail.com>
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.
To install App::JobLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::JobLog
CPAN shell
perl -MCPAN -e shell install App::JobLog
For more information on module installation, please visit the detailed CPAN module installation guide.