|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2003-07-23 04:34:29
Hi,
I've been using date_time, and it's really cool!
However, I would have a small request:
For time iterators: we have hours(), minutes(), seconds(), but no days().
Of course, instead of days(1) we can have hours(24), still I think it's more
expressive to have days(1).
For instance, if I want to iterate 1 and a half days, I think it's more
expressive to say:
time_iterator it( start, days(1) + hours( 12)) instead of:
time_iterator it( start, hours( 36))
Best,
John
-- John Torjo -- "Practical C++" column writer for builder.com.com Freelancer, C++ consultant mailto:john_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk