comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Windows file timestamp converted to local time
Date: Tue, 17 Oct 2023 17:35:45 +0100	[thread overview]
Message-ID: <lya5sh436m.fsf@pushface.org> (raw)
In-Reply-To: kp7r1tF8sljU1@mid.individual.net

Niklas Holsti <niklas.holsti@tidorum.invalid> writes:

> Ada.Directories.Modification_Time returns a value of type
> Ada.Calendar.Time. However, "the time base associated with the type
> Time of package Calendar is implementation defined" (RM 9.6(23)) so it
> should be documented in the implementation documents, that is in the
> GNAT documentation. Have you looked there?

The GNAT RM says in Implementation Defined Characteristics[1]

"The time base used is that provided by the C library function gettimeofday."

[1] https://docs.adacore.com/live/wave/gnat_rm/html/gnat_rm/gnat_rm/implementation_defined_characteristics.html

  reply	other threads:[~2023-10-17 16:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <262bea8c-57ff-480e-b5aa-da94f0436e98n@googlegroups.com>
2023-10-16 18:35 ` Windows file timestamp converted to local time Matt Borchers
2023-10-16 18:49   ` Niklas Holsti
2023-10-17  2:39     ` Randy Brukardt
2023-10-17 14:13     ` Matt Borchers
2023-10-17 16:28       ` Niklas Holsti
2023-10-17 16:35         ` Simon Wright [this message]
2023-10-16 19:14   ` Simon Wright
2023-10-17  7:25   ` 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