On Mon, 20 Jan 2003, fglock wrote: > Just another proposal for starting DateTime::Set > > - Inherit Set::Infinite "as-is". No new API, just make it work. > > - No epoch-related internals. All math is handled by DateTime.pm > > - No parsing or stringification. > > What you get: > > - A toolkit for building a new API > > - Basic functions: union(), intersection(), complement() > > - Dependencies are Set::Infinite, DateTime, and Test::*
That sounds like a good plan to me. Instead of epoch internals, BTW, I think we can simply use something like ICal or some other string based format, since those can be compared properly as well. The only question is whether "-01001010T101022" is less than "01000101T101022", and from the command line quickie I just wrote, it is. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
