NAME
App::TimeClock::ConsolePrinter
DESCRIPTION
Implements the App::TimeClock::PrinterInterface. Will print a simple ASCII format. Suitable for using in a console/terminal.
METHODS
- print_header()
-
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 =====================================
- print_day()
-
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
COPYRIGHT
Copyright (C) 2012 Søren Lund
This file is part of App::TimeClock.
App::TimeClock 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, either version 3 of the License, or (at your option) any later version.
App::TimeClock 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.
You should have received a copy of the GNU General Public License along with App::TimeClock. If not, see <http://www.gnu.org/licenses/>.