TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Sun, 28 Oct 2001 16:50:47 -0800
Reply-To: Tom Moran <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Decision Aids
From: Tom Moran <[log in to unmask]>
Parts/Attachments: 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.