NAME

App::TimeClock::ConsolePrinter

DESCRIPTION

Implements the App::TimeClock::PrinterInterface. Will print a simple ASCII format. Suitable for using in a console/terminal.

METHODS

Prints a header including todays date. The header is indented to be centered above the tables printed by "print_day()". Example:

=====================================
Daily Report Wed Mar 14 13:39:06 2012
=====================================

Prints all activities for a day including a total. Is printed in a ACSII table. Example:

* Mon 2012/03/12 (08:21:16 - 16:05:31) *
+--------------------------------------------------------------+-------+
| Total Daily Hours                                            |  7.73 |
+--------------------------------------------------------------+-------+
| Lunch                                                        |  0.57 |
+--------------------------------------------------------------+-------+
| MyProject:Estimation                                         |  2.90 |
+--------------------------------------------------------------+-------+
| AnotherProject:BugFixing                                     |  4.26 |
+--------------------------------------------------------------+-------+

Prints the total number of hours worked and the daily average. Example:

TOTAL = 291.72 hours
PERIOD = 42 days
AVERAGE = 7.95 hours/day

AUTHOR

Søren Lund, <soren at lund.org>

SEE ALSO

timeclock.pl

COPYRIGHT

Copyright (C) 2012 Søren Lund

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or at your option any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.