NAME
App::JobLog::Log::Format - pretty printer for log
VERSION
version 1.002
DESCRIPTION
This module handles word wrapping, date formatting, and the like.
METHODS
time_remaining
Determines the time remaining to work in the given period. Accepts a reference to an array of App::JobLog::Log::Event objects and returns an integer representing a number of seconds.
display
Formats App::JobLog::Log::Synopsis objects so they fit nicely on the screen.
wrap
Wraps wrap
from Text::Wrap. Expects a string and a number of columns. Returns a reference to an array of substrings wrapped to fit the columns.
Whether times should be displayed given the merge level.
duration
Work time formatter.
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.