The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::JobLog::Log::Synopsis - consolidates App::JobClock::Log::Event objects for display

VERSION

version 1.002

DESCRIPTION

This wasn't written to be used outside of App::JobLog. The code itself contains interlinear comments if you want the details.

METHODS

date

DateTime object representing first moment in first event in synopsis.

description

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.

tags

Returns unformatted string containing all unique tags in events described, listing them in alphabetical order.

tag_string

Returns stringification of tags in the events described, sorting them alphabetically and separating distinct tags with commas.

events

Accessor for events in Synopsis.

single_interval

Whether all events contained in this synopsis are adjacent.

single_day

Whether all events contained in this synopsis occur in the same day.

duration

Duration in seconds of all events contained in this Synopsis.

time_fmt

Formats time interval of events.

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.