develooper Front page | perl.datetime | Postings from January 2003

Re: Picking up the ball

Thread Previous | Thread Next
From:
Dave Rolsky
Date:
January 13, 2003 11:42
Subject:
Re: Picking up the ball
Message ID:
Pine.LNX.4.51.0301131341290.25009@urth.org
On Mon, 13 Jan 2003, Rich Bowen wrote:

> It's an interesting point in this case, with this being one of the very
> few calendars that changes how time is handled. However, since the
> purpose of the module in question is conversion between Gregorian and
> French Revolutionary, I would expect that it would do just that. The
> base module would have "Gregorian" or "Anglo-Babylonial" time, and the
> module would convert back and forth. Or it could simply choose to ignore
> that portion of things, as you have done now.

Conceivably, a calendar module might simply always return 0 for
time-related pieces of dates, and not even store Rata Die seconds, but
that's less than ideal, since the round-trip from Gregorian => X =>
Gregorian would result in a loss of information, which is bad.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About