* Time (Ada.Calendar?) in distributed application?
@ 2001-11-02 14:10 Tomas Hlavaty
2001-11-02 15:21 ` Wes Groleau
2001-11-02 17:01 ` Matthew Heaney
0 siblings, 2 replies; 4+ messages in thread
From: Tomas Hlavaty @ 2001-11-02 14:10 UTC (permalink / raw)
Hi,
I need to send a time (Ada.Calendar.Time) to another partition (in
Glade) but Ada.Calendar has wrong categorization. Could you help me?
Should I define my own type and all functions in Ada.Calendar?
And, why is Ada.Calendar.Time private? I cannot convert my own
representation of time to that type. Should I use Unchecked_Conversion?
Tomas Hlavaty
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Time (Ada.Calendar?) in distributed application?
2001-11-02 14:10 Time (Ada.Calendar?) in distributed application? Tomas Hlavaty
@ 2001-11-02 15:21 ` Wes Groleau
2001-11-02 17:01 ` Matthew Heaney
1 sibling, 0 replies; 4+ messages in thread
From: Wes Groleau @ 2001-11-02 15:21 UTC (permalink / raw)
Tomas Hlavaty wrote:
> I need to send a time (Ada.Calendar.Time) to another partition (in
> Glade) but Ada.Calendar has wrong categorization. Could you help me?
> Should I define my own type and all functions in Ada.Calendar?
I defined a record in another package that contained all of the
components needed for parameters to the procedure Ada.Calendar.Split
I send that record between partitions and convert to and from Time
on either end.
Time is private because a more efficient implementation
(without losing robustness) is possible that way.
--
Wes Groleau
http://freepages.rootsweb.com/~wgroleau
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Time (Ada.Calendar?) in distributed application?
2001-11-02 14:10 Time (Ada.Calendar?) in distributed application? Tomas Hlavaty
2001-11-02 15:21 ` Wes Groleau
@ 2001-11-02 17:01 ` Matthew Heaney
2001-11-05 7:54 ` Tomas Hlavaty
1 sibling, 1 reply; 4+ messages in thread
From: Matthew Heaney @ 2001-11-02 17:01 UTC (permalink / raw)
"Tomas Hlavaty" <hlavaty@labe.felk.cvut.cz> wrote in message
news:3BE2A96A.35AE3036@labe.felk.cvut.cz...
> Hi,
>
> I need to send a time (Ada.Calendar.Time) to another partition (in
> Glade) but Ada.Calendar has wrong categorization. Could you help me?
> Should I define my own type and all functions in Ada.Calendar?
Why? Just use Split to get the parts, and then stream the parts.
> And, why is Ada.Calendar.Time private? I cannot convert my own
> representation of time to that type. Should I use Unchecked_Conversion?
No.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Time (Ada.Calendar?) in distributed application?
2001-11-02 17:01 ` Matthew Heaney
@ 2001-11-05 7:54 ` Tomas Hlavaty
0 siblings, 0 replies; 4+ messages in thread
From: Tomas Hlavaty @ 2001-11-05 7:54 UTC (permalink / raw)
Thanks.
Tomas Hlavaty
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-05 7:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-02 14:10 Time (Ada.Calendar?) in distributed application? Tomas Hlavaty
2001-11-02 15:21 ` Wes Groleau
2001-11-02 17:01 ` Matthew Heaney
2001-11-05 7:54 ` Tomas Hlavaty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox