Time Libraries Rough Draft

Bayley, Alistair Alistair_Bayley at ldn.invesco.com
Fri Feb 11 05:22:32 EST 2005

> From: Seth Kurtzberg [mailto:seth at cql.com] 
> The problem is that it has been stated several times on this 
> thread that there will be no leap second table, nor a way to 
> use one.

That's not my understanding (but then I do fid it hard to follow
_everything_). Ashley's proposed API has the following:

module System.Time.LeapSeconds ( ... ) where
  utcDayLength :: LeapSecondTable -> JulianDay -> DiffTime
  utcToTAITime :: LeapSecondTable -> UTCTime -> TAITime
  taiToUTCTime :: LeapSecondTable -> TAITime -> UTCTime

Of course, where the LeapSecondTable comes from is another problem...


Confidentiality Note: The information contained in this   message, and any
attachments, may contain confidential   and/or privileged material. It is
intended solely for the   person(s) or entity to which it is addressed. Any
review,   retransmission, dissemination, or taking of any action in
reliance upon this information by persons or entities other   than the
intended recipient(s) is prohibited. If you received  this in error, please
contact the sender and delete the   material from any computer.

More information about the Libraries mailing list