std.date

Kagamin spam at here.lot
Tue Nov 16 13:00:17 PST 2010


Steve Teale Wrote:

> It also strikes me as odd that it does not include a table of leap seconds. As it stands, some of its methods could return values that were out by a year for up to four or five seconds on January 1 2011. I'm no expert on UTC, Gregorian Calendar and such, so I could well be wrong, but ....

This depends on how the library imports time from system. If it imports in nominal form: receives actual hours, minutes and seconds as separate values, it will precisely represent the time point in nominal and string forms. Only time intervals will be off by leap seconds that were introduces during the intervals.


More information about the Digitalmars-d mailing list