Time
Ashley Yakeley
ashley at semantic.org
Tue Jan 25 22:04:19 EST 2005
In article
<3429668D0E777A499EE74A7952C382D1030DDA94 at EUR-MSG-01.europe.corp.microso
ft.com>,
"Simon Marlow" <simonmar at microsoft.com> wrote:
> - some way to update the leap second table
Perhaps the best idea would be to have a LeapSecondTable type, and
require it in UTC calculations. Programmers could then make their own
from whatever source.
type JulianDay = Int32
knownLeapSecondTable :: LeapSecondTable
utcTAIDiff :: LeapSecondTable -> JulianDay -> Int
utcDaySeconds :: LeapSecondTable -> JulianDay -> Int
clockTimeToUTCTime :: LeapSecondTable -> ClockTime -> UTCTime
--
Ashley Yakeley, Seattle WA
More information about the Libraries
mailing list