Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2004-04-25 13:32:28


On 4/24/04 9:35 AM, "Jeff Garland" <jeff_at_[hidden]> wrote:

> On Fri, 23 Apr 2004 23:22:34 -0400, Daryle Walker wrote
[SNIP]
>> (Or does every date-time object work at the
>> fractional-second level? If so, maybe that's what needs fixing.)
>
> No, boost::gregorian::date has a resolution of 1 day -- it can't represent
> hours, minutes, etc...

So maybe a new type should be made that just represents year & month. Every
year still only has 12 months. Of course, your problem comes back if you
want to mix days in.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk