summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-11 03:23:19 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-11 03:23:19 -0400
commitcd8f61fb2da08c9dbbc2edba027275660a3fd2b9 (patch)
treed0a8ec1cd5845d086fc9bacdde9c329d3d49f1b7 /datetime.cc
parent3edf2986335280bb13fffc51f23212622a79c9a9 (diff)
downloadfork-ledger-cd8f61fb2da08c9dbbc2edba027275660a3fd2b9.tar.gz
fork-ledger-cd8f61fb2da08c9dbbc2edba027275660a3fd2b9.tar.bz2
fork-ledger-cd8f61fb2da08c9dbbc2edba027275660a3fd2b9.zip
more cleanup
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc6
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++) {