TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Tom Moran <[log in to unmask]>
Sun, 28 Oct 2001 16:50:47 -0800
text/plain (9 lines)
> how daylight savings works in Ada.Calendar
Given ARM 9.6(23) "The time base associated with the type Time of
package Calendar is implementation defined. ..." and (24) "... as
appropriate to an implementation defined timezone;", it seems to me you
can assume nothing about daylight savings and Ada.Calendar.  You'll have
to go to the particular OS or something.  In Claw.Time (MS Windows) we
ask the OS about daylight savings stuff to convert to/from UTC (aka
GMT).  Java presumably does the same.  Similarly for Unixes.