Home » railML newsgroups » railml.timetable » scheduleformat / periodformat
scheduleformat / periodformat [message #561] Wed, 15 October 2003 10:26 Go to previous message
Joachim.Rubröder is currently offline  Joachim.Rubröder
Messages: 33
Registered: September 2004
Member
Hello,
I had a short discussion with Joachim Buechse (ERGON) about RailML and
we agree, that it is not a good style for RailML to invent new time
formats. There is a common standard (ISO8601) for times and durations,
so why not using it.

A "time" has the flexible format "08:13", "08:13:18", "08:13:18.5678" or
even "08:13:18.0+01:00", but not "08:13,3". It's also forbidden to use
"HH:MM:SS" as empty field.

A "duration" of 2 minutes is given as "PT2M" or "PT120S" or "PT1M60S",
always "PT", continued by the time duration in hours, minutes or seconds.

If everyone agrees, I would like to delete the elements <periodformat>
and <scheduleformat> and change the type from "xsd:string" to "xsd:time"
for all time fields and to "xsd:duration" for all fields containing a
time period.

Greetings from Zurich,
Joachim Rubröder (SMA)
 
Read Message
Read Message
Previous Topic: timetable-Schema 0.96 ?
Next Topic: Daylight saving time
Goto Forum:
  


Current Time: Tue Apr 30 05:12:15 CEST 2024