diff options
Diffstat (limited to 'src/times.h')
-rw-r--r-- | src/times.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/times.h b/src/times.h index 7e9d7ac0..6abd2109 100644 --- a/src/times.h +++ b/src/times.h @@ -140,9 +140,10 @@ struct interval_t return years != 0 || months != 0 || days != 0; } - void start(const date_t& moment) { - begin = first(moment); + void set_start(const date_t& moment) { + begin = moment; } + date_t first(const optional<date_t>& moment = none) const; date_t increment(const date_t&) const; |