Home » railML newsgroups » railml.timetable » Correct use of arrivalDay/departureDay
Correct use of arrivalDay/departureDay [message #654] Thu, 01 September 2005 11:23 Go to next message
tobias is currently offline  tobias
Messages: 8
Registered: April 2005
Junior Member
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?

Q2: If a train passes midnight, should the arrivalDay and departureDay
attributes be repeated for each subsequent entry element?

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.
Re: Correct use of arrivalDay/departureDay [message #657 is a reply to message #654] Wed, 07 September 2005 08:13 Go to previous message
huerlimann is currently offline  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
Previous Topic: composition
Next Topic: operatingDay
Goto Forum:
  


Current Time: Thu Mar 28 12:42:49 CET 2024