Re: Correct use of arrivalDay/departureDay [message #657 is a reply to message #654] |
Wed, 07 September 2005 08:13 |
huerlimann
Messages: 11 Registered: October 2005
|
Junior Member |
|
|
Hello Tobias
It seems that we the same question at the moment....
Tobias Bende wrote:
> I have two questions regarding the correct use of arrivalDay and
> departureDay in the entry element, which I feel are not sufficently
> explained in the documentation. The description says "indicating an
> arrival/departure after midnight on day n".
> Q1: On which day is the train considered to start, on day 0 or on day 1?
The documentation is not clear. I hope that Joachim will give us an answer
soon. arrivalDay sounds
more that the start is on day 1, otherwise arrivalDayOffset was a better
name for the attribute.
Personally I would prefer an offset (train starts at day 0).
> Q2: If a train passes midnight, should the arrivalDay and departureDay
> attributes be repeated for each subsequent entry element?
I think it was correct to repeat it again and again. But an importing
application should have the
intelligence to handle it correct even if it is not repeated.
> My guess is that the answer to Q1 is that the train starts on day 1 and
> the answer to Q2 is yes, but I cannot tell from just reading the
> documentation.
Best regards
Dani
|
|
|