diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-11 03:23:19 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-11 03:23:19 -0400 |
commit | cd8f61fb2da08c9dbbc2edba027275660a3fd2b9 (patch) | |
tree | d0a8ec1cd5845d086fc9bacdde9c329d3d49f1b7 /datetime.cc | |
parent | 3edf2986335280bb13fffc51f23212622a79c9a9 (diff) | |
download | fork-ledger-cd8f61fb2da08c9dbbc2edba027275660a3fd2b9.tar.gz fork-ledger-cd8f61fb2da08c9dbbc2edba027275660a3fd2b9.tar.bz2 fork-ledger-cd8f61fb2da08c9dbbc2edba027275660a3fd2b9.zip |
more cleanup
Diffstat (limited to 'datetime.cc')
-rw-r--r-- | datetime.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/datetime.cc b/datetime.cc index 19f54f92..71393ebf 100644 --- a/datetime.cc +++ b/datetime.cc @@ -29,6 +29,12 @@ static const char * formats[] = { NULL }; +std::time_t interval_t::increment(const std::time_t moment) +{ + // jww (2004-08-11): NYI + return moment + seconds; +} + bool parse_date_mask(const char * date_str, struct std::tm * result) { for (const char ** f = formats; *f; f++) { |