Joshua Hoblitt schreef: > > Infinite dates do not exist. (And neither do undefined ones.) > > If you accept that as dates or not, they are both valid pieces of > information that need to be expressed.
Sure. If the programmer chooses to, by choosing modules that return them. But no part of DateTime, the base module, should return these non-dates. They should only be a result of some action where it makes sense that something else than a date is returned. Specifically, the default parser should not return these things, and other parsers (the DBI ones, for example) should document that they can return DT::Undef or DT::Inf. IMHO, as always. Eugene
