
25 Jan
2005
25 Jan
'05
10:04 p.m.
In article
<3429668D0E777A499EE74A7952C382D1030DDA94@EUR-MSG-01.europe.corp.microso
ft.com>,
"Simon Marlow"
- 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