From: awdorrin <awdorrin@gmail.com>
Subject: Re: Ada.Calendar Question
Date: Mon, 23 Jul 2012 06:23:24 -0700 (PDT)
Date: 2012-07-23T06:23:24-07:00 [thread overview]
Message-ID: <a8bff24f-a2e2-42c8-9365-1eaed05111f6@googlegroups.com> (raw)
In-Reply-To: <m2r4s6s1uc.fsf@nidhoggr.home>
On Friday, July 20, 2012 2:51:23 PM UTC-4, Simon Wright wrote:
>
> It depends what you mean by 'epoch'. If it's 1 Jan 1970 (as for Unix),
> then you should be aware that at the change to Ada 05 GNAT changed
> representations so that 1 Jan 1970 is no longer stored as 0.
Since I'm interfacing to C routines, I do mean 1-Jan-1970.
I do like your suggestion, it is much cleaner and I don't need to include either the Interfaces.C or Ada.Calendar.Conversions packages.
Thanks!
prev parent reply other threads:[~2012-07-26 15:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-20 17:18 Ada.Calendar Question awdorrin
2012-07-20 17:59 ` Adam Beneschan
2012-07-20 18:24 ` awdorrin
2012-07-20 18:51 ` Simon Wright
2012-07-23 13:23 ` awdorrin [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox