comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Inspiration for a better calendar package?
Date: Tue, 9 Dec 2008 12:15:40 +0100
Date: 2008-12-09T12:15:40+01:00	[thread overview]
Message-ID: <12gqldae49yoe$.1sf2zlz1fthvh.dlg@40tude.net> (raw)
In-Reply-To: d2977df2-2b2d-4683-9ca7-d76e2c333647@m15g2000vbp.googlegroups.com

On Tue, 9 Dec 2008 02:15:55 -0800 (PST), Martin wrote:

> Ada.Calendar, Ada.Calendar.Arithmetic and Ada.Calender.Time_Zones
> already seem to provide all this (and more!).

They do not. There is no portable way to handle UTC.

Ada.Calender.Time_Zones and Arithmetic are ill-defined. It was discussed in
comp.lang.ada in August this year. I also posted a proposal how to fix the
issue to Ada comment.

As for Ada.Calendar I doubt there should be any. It is a burden inherited
from Ada 83. We just do not need political time otherwise than for
formatted text output. It was silly for Ada 2005 to define time arithmetic
in terms of political time. Especially because there  simply is no way to
define such arithmetic. Since political time increment "+" is not a
function of its arguments!

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



  reply	other threads:[~2008-12-09 11:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09  9:48 Inspiration for a better calendar package? Jacob Sparre Andersen
2008-12-09 10:15 ` Martin
2008-12-09 11:15   ` Dmitry A. Kazakov [this message]
2008-12-09 12:23     ` Martin
2008-12-09 15:16     ` JDECS
2008-12-09 15:44       ` Dmitry A. Kazakov
2008-12-09 17:04         ` JDECS
2008-12-15  7:45     ` Wilhelm Spickermann
2008-12-15  9:00       ` Dmitry A. Kazakov
2008-12-15 12:14         ` m.collado
2008-12-15 13:35           ` Dmitry A. Kazakov
2008-12-15 12:59         ` Wilhelm Spickermann
2008-12-15 13:46           ` Dmitry A. Kazakov
2008-12-16  0:47             ` sjw
2008-12-16  8:41               ` Dmitry A. Kazakov
2008-12-16 12:08                 ` Georg Bauhaus
2008-12-16  5:50             ` Wilhelm Spickermann
2008-12-16  8:50               ` Dmitry A. Kazakov
2008-12-16 12:23                 ` Georg Bauhaus
2008-12-17  6:16                 ` Wilhelm Spickermann
2008-12-17  8:29                   ` Dmitry A. Kazakov
2008-12-18 21:48                     ` Wilhelm Spickermann
2008-12-19  8:38                       ` Dmitry A. Kazakov
     [not found]           ` <9ImdneCohuZCNdvUnZ2dnUVZ_s3inZ2d@earthlink.com>
2008-12-16  5:13             ` Wilhelm Spickermann
replies disabled

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