comp.lang.ada
 help / color / mirror / Atom feed
* Ada.Calendar Question
@ 2012-07-20 17:18 awdorrin
  2012-07-20 17:59 ` Adam Beneschan
  0 siblings, 1 reply; 5+ messages in thread
From: awdorrin @ 2012-07-20 17:18 UTC (permalink / raw)


I have been looking at the Ada.Calendar and Ada.Real_Time packages, trying to update some old Ada code, which interfaces to C.

How do I access the 'Conversion_Operations' package defined within Ada.Calendar?

I have been trying to make use of:
 Conversion_Operations.To_Ada_Time( Unix_Time : Long-Integer );
 Conversion_Operations.To_Struct_Timespec()
and
 Conversion_Operations.To_Duration()

I have seen the C specific versions in Ada.Calendar.Conversion, but those all use the Interfaces.C package types.








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

end of thread, other threads:[~2012-07-26 15:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox