comp.lang.ada
 help / color / mirror / Atom feed
* Timetype
@ 2002-06-27 20:31 Björn Lundin
  2002-06-27 21:03 ` Timetype David C. Hoos
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Björn Lundin @ 2002-06-27 20:31 UTC (permalink / 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



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

end of thread, other threads:[~2002-06-28 23:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-27 20:31 Timetype Björn Lundin
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

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