comp.lang.ada
 help / color / mirror / Atom feed
* Ada.Calendar.Time_Zones
@ 2008-08-04  9:31 Dmitry A. Kazakov
  2008-08-04 13:56 ` Ada.Calendar.Time_Zones google1
  2008-08-04 22:12 ` Ada.Calendar.Time_Zones Randy Brukardt
  0 siblings, 2 replies; 13+ messages in thread
From: Dmitry A. Kazakov @ 2008-08-04  9:31 UTC (permalink / raw)


Does anybody know the meaning of the result returned by UTC_Time_Offset? RM
says:

   "Returns, as a number of minutes, the difference between the
implementation-defined time zone of Calendar, and UTC time, at the time
Date."

This is ill-defined. Political time has overlapping intervals in presence
of daylight saving time, when the clock is adjusted backwards.

The overlapping time interval has two differences to the UTC time. So which
one is returned by UTC_Time_Offset?

Furthermore, some intervals are missing in political time. That is when the
clock is adjusted forward. What is the difference then? Unknown_Zone_Error?

P.S. Why not to simply provide Ada.UTC_Time (with conversion to
Ada.Calendar.Time) instead of this mess?

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-08-14  0:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-04  9:31 Ada.Calendar.Time_Zones Dmitry A. Kazakov
2008-08-04 13:56 ` Ada.Calendar.Time_Zones google1
2008-08-04 14:57   ` Ada.Calendar.Time_Zones Dmitry A. Kazakov
2008-08-04 20:56     ` Ada.Calendar.Time_Zones Maciej Sobczak
2008-08-04 22:12 ` Ada.Calendar.Time_Zones Randy Brukardt
2008-08-05  9:10   ` Ada.Calendar.Time_Zones Dmitry A. Kazakov
2008-08-07  2:52     ` Ada.Calendar.Time_Zones Randy Brukardt
2008-08-07  8:27       ` Ada.Calendar.Time_Zones Dmitry A. Kazakov
2008-08-07 22:47         ` Ada.Calendar.Time_Zones Randy Brukardt
2008-08-08  8:48           ` Ada.Calendar.Time_Zones Dmitry A. Kazakov
2008-08-09  2:09             ` Ada.Calendar.Time_Zones Randy Brukardt
2008-08-09  8:04               ` Ada.Calendar.Time_Zones Dmitry A. Kazakov
2008-08-14  0:20                 ` Ada.Calendar.Time_Zones Randy Brukardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox