From 2bff7565c1762202c7c01bf7cb50bd9ce351031a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 14 Aug 2008 04:13:49 -0400 Subject: Changed interval_t::start to interval_t::set_start, to be more clear about how it differs from interval_t::first. --- src/times.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/times.h') 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& moment = none) const; date_t increment(const date_t&) const; -- cgit v1.2.3