Boost logo

Boost :

From: Glen Knowles (gknowles_at_[hidden])
Date: 2002-04-16 21:10:03


Jeff Garland wrote:

> Beman Dawes wrote:
> >When does conversion matter? One case is when a user of one time system
> >needs to pass a time to a library which happens to use another time
system.
>
> The tricky part is that we don't want these date library to become
codependent . That is I envision
> the Mayan system would go in boost/gdtl/mayan and I shouldn't need the
gregorian system to use the
> mayan system, and vice versa. The only time I would need both is in doing
conversion between
> them...

Would it be reasonable to require that all date systems to provide:
1. conversion to a basic counted system with resolution and base of its
choice
2. the resolution of its basic counted system
3. its base in a universal time format

Glen



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