summaryrefslogtreecommitdiff
path: root/src/times.h
Commit message (Collapse)AuthorAgeFilesLines
* Added serialization methods for most typeJohn Wiegley2009-10-301-0/+32
| | | | | This allows journal_t objects to be completed serialized to disk and deserialized.
* date_interval_t now uses a duration_t objectJohn Wiegley2009-10-301-4/+52
| | | | This is instead of using boost::variant.
* Added TRUE_CURRENT_TIME() macroJohn Wiegley2009-10-281-4/+4
| | | | Because CURRENT_TIME() can now be a past date if --now is used.
* Support a --now option, for testing purposesJohn Wiegley2009-10-271-3/+8
| | | | | | This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests.
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-251-26/+15
|
* Removed reliance on strptime/strftimeJohn Wiegley2009-10-111-24/+21
| | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT).
* Added some missing casts, upgraded to Boost 1.40John Wiegley2009-10-091-1/+1
|
* Rewrote the date interval parser/stepperJohn Wiegley2009-03-231-3/+7
| | | | | The new implementation uses boost::gregorian::date_duration objects, rather than manually stepping.
* The new code is working now.John Wiegley2009-03-161-3/+7
|
* Added feature to "align" the interval's start dateJohn Wiegley2009-03-151-2/+6
|
* First iteration of the new date_interval_t rewriteJohn Wiegley2009-03-151-71/+61
|
* Started breaking up interval_t into range_tJohn Wiegley2009-03-151-14/+43
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+2
|
* Greatly improved the way "weeks" are iteratedJohn Wiegley2009-02-211-6/+15
|
* Fixed the way interval_t objects are initializedJohn Wiegley2009-02-141-2/+2
|
* Removed interval_t::advanced, which was unusedJohn Wiegley2009-02-141-6/+3
|
* Fixed the use of --effective and --date-format (-y).John Wiegley2009-02-091-9/+15
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-24/+22
|
* Added documentation stubs for all include files and classes.John Wiegley2009-01-311-1/+5
|
* Update Doxygen documentation. Still much more work to be done.John Wiegley2009-01-291-0/+13
|
* Changed order of some functions, to guard against self-referencing.John Wiegley2009-01-241-2/+4
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Restored --format, --date-format (-y), and --input-date-format options.John Wiegley2008-09-141-2/+3
|
* Changed interval_t::start to interval_t::set_start, to be more clear about howJohn Wiegley2008-08-141-2/+3
| | | | it differs from interval_t::first.
* Changed the default output date format in register reports from 2008-08-13 toJohn Wiegley2008-08-131-1/+1
| | | | | | 08-Aug-13. This allows for the account name to be one character wider, while the century was never significant in people's minds, whereas the change in months between two transactions sometimes is.
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+154
is in doc/, etc.