comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <bjorn.lundin@swipnet.se>
Subject: Timetype
Date: Thu, 27 Jun 2002 22:31:37 +0200
Date: 2002-06-27T22:31:37+02:00	[thread overview]
Message-ID: <7CKS8.3774$t4.9720@nntpserver.swip.net> (raw)


Hello1
Can anyone explain this to me?

cut from a-calend.ads
--  Declarations representing limits of allowed local time values. Note that
--  these do NOT constrain the possible stored values of time which may well
--  permit a larger range of times (this is explicitly allowed in Ada 95).

   subtype Year_Number  is Integer range 1901 .. 2099;


Does it mean that i can write an application dealing with historical dates 
using the time_type?

It seems to me that a date like 05-Jun-1712 would cause
constraint_error.

Does anyone know the reason for this small range of years in
the timetype?

/Bj�rn



             reply	other threads:[~2002-06-27 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 20:31 Björn Lundin [this message]
2002-06-27 21:03 ` Timetype David C. Hoos
2002-06-28  5:26 ` Timetype Mark Biggar
2002-06-28 13:47   ` Timetype Marin David Condic
2002-06-28 17:12   ` Timetype Björn Lundin
2002-06-28 23:51   ` Timetype Robert C. Leif
2002-06-28 12:53 ` Timetype Jacob Sparre Andersen
replies disabled

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