Can parse the timelog and generate a report using an instance of a App::TimeClock::PrinterInterface.
Initializes a new App::TimeClock::DailyReport object.
Two parameters are required:
Returns a time (seconds since epoch) from a date and time.
Returns the time when the report was executed.
Sets the time when the report is executed.
Opens the timelog file starts parsing it, looping over each day and calling print_day() for each.
<soren at lund.org>
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.