summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
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++) {