* "Value" function for Calendar.Time
@ 2003-06-19 7:52 Simon Wright
2003-06-19 17:05 ` tmoran
2003-06-20 15:01 ` Peter Hermann
0 siblings, 2 replies; 4+ messages in thread
From: Simon Wright @ 2003-06-19 7:52 UTC (permalink / raw)
Does anyone have code to convert a textual representation of a
date/time to an Ada.Calendar.Time?
TIA!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "Value" function for Calendar.Time
2003-06-19 7:52 "Value" function for Calendar.Time Simon Wright
@ 2003-06-19 17:05 ` tmoran
2003-06-19 20:35 ` Simon Wright
2003-06-20 15:01 ` Peter Hermann
1 sibling, 1 reply; 4+ messages in thread
From: tmoran @ 2003-06-19 17:05 UTC (permalink / raw)
>Does anyone have code to convert a textual representation of a
>date/time to an Ada.Calendar.Time?
www.adapower.com/os/notify.zip has code for an HTTP client. In
http.adb therein you'll find:
function Full_Date(Source : String) return Ada.Calendar.Time is
-- scan an RFC 1123 Sun, 06 Nov 1994 08:49:37 GMT
-- or 850(obsolete) Sunday, 06-Nov-94 08:49:37 GMT
-- Full Date and return as Ada.Calendar.Time
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "Value" function for Calendar.Time
2003-06-19 17:05 ` tmoran
@ 2003-06-19 20:35 ` Simon Wright
0 siblings, 0 replies; 4+ messages in thread
From: Simon Wright @ 2003-06-19 20:35 UTC (permalink / raw)
tmoran@acm.org writes:
> >Does anyone have code to convert a textual representation of a
> >date/time to an Ada.Calendar.Time?
> www.adapower.com/os/notify.zip has code for an HTTP client. In
> http.adb therein you'll find:
> function Full_Date(Source : String) return Ada.Calendar.Time is
> -- scan an RFC 1123 Sun, 06 Nov 1994 08:49:37 GMT
> -- or 850(obsolete) Sunday, 06-Nov-94 08:49:37 GMT
> -- Full Date and return as Ada.Calendar.Time
Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "Value" function for Calendar.Time
2003-06-19 7:52 "Value" function for Calendar.Time Simon Wright
2003-06-19 17:05 ` tmoran
@ 2003-06-20 15:01 ` Peter Hermann
1 sibling, 0 replies; 4+ messages in thread
From: Peter Hermann @ 2003-06-20 15:01 UTC (permalink / raw)
Simon Wright <simon.j.wright@amsjv.com> wrote:
> Does anyone have code to convert a textual representation of a
> date/time to an Ada.Calendar.Time?
http://www.csv.ica.uni-stuttgart.de/homes/ph/adapilotresources/basic_tools/calenday.ads
--
--Peter Hermann(49)0711-685-3611 fax3758 ica2ph@csv.ica.uni-stuttgart.de
--Pfaffenwaldring 27 Raum 114, D-70569 Stuttgart Uni Computeranwendungen
--http://www.csv.ica.uni-stuttgart.de/homes/ph/
--Team Ada: "C'mon people let the world begin" (Paul McCartney)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-20 15:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-19 7:52 "Value" function for Calendar.Time Simon Wright
2003-06-19 17:05 ` tmoran
2003-06-19 20:35 ` Simon Wright
2003-06-20 15:01 ` Peter Hermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox