comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve Doiel" <nospam_steved94@attbi.com>
Subject: Re: FILETIME <-> Ada.Real_Time.Time conversions
Date: Wed, 19 Dec 2001 15:06:18 GMT
Date: 2001-12-19T15:06:18+00:00	[thread overview]
Message-ID: <K12U7.7440$NM4.2997855@rwcrnsc53> (raw)
In-Reply-To: 3c208dc5.16968437@News.CIS.DFN.DE

I chose the same format for sending our time stamps across a network to
various machines.  Currently these values are only decoded on Win32 PC's.

It may be useful for you to know that VAX ELN (maybe VMS as well?) uses a
similar time stamp.  The only difference is the time and date corresponding
to zero.

Also note: it may not be possible (read probably isn't) to represent all
values of FILETIME as a Ada.Real_Time.Time value since the size of the
values may differ.  As I recall the resolution of time in Ada.Real_Time is
not specified, but a minimum resolution and range is.

SteveD

"Dmitry A. Kazakov" <dmitry@elros.cbb-automation.de> wrote in message
news:3c208dc5.16968437@News.CIS.DFN.DE...
[snip]
>
> Presently parts of the system are under implementation in Ada 95 *not*
> under Win32. There is no designated platform. It should be portable.
> So the question reappears. It is relatively easy to convert FILETIME
> to Ada.Calendar.Time provided that Ada.Calendar.Split and Time_Of are
> dealing with UTC [??]. Yet there is a hint in Ada Rationale that
> Ada.Calendar.Time might suffer jumps because of daylight savings
> [shudder]. At the same time, it seems that Ada.Real_Time.Time was very
> carefully designed to prevent any attempt to correlate it with any
> external clock [??]. So the problem.
>
> Regards,
> Dmitry Kazakov





  reply	other threads:[~2001-12-19 15:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-18 12:53 FILETIME <-> Ada.Real_Time.Time conversions Dmitry A. Kazakov
2001-12-19  9:02 ` Alfred Hilscher
2001-12-19 13:37   ` Dmitry A. Kazakov
2001-12-19 15:06     ` Steve Doiel [this message]
2001-12-20 11:27       ` M. A. Alves
2001-12-20 15:10       ` Dmitry A. Kazakov
2001-12-21  3:13         ` Steve Doiel
2001-12-21 10:26           ` Dmitry A. Kazakov
2001-12-21 16:18             ` Steve Doiel
2001-12-24 18:02               ` Dmitry A. Kazakov
2001-12-21  6:17         ` tmoran
2001-12-21  8:51           ` Dmitry A. Kazakov
2001-12-21 18:17             ` tmoran
2001-12-24 15:59               ` Dmitry A. Kazakov
2001-12-24 18:21                 ` tmoran
2001-12-25 15:53                   ` Dmitry A. Kazakov
replies disabled

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