TT:operatingDay: Difference between revisions
[unchecked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
*{{attr|operatingCode}}: a 7-digit bitmask (0/1) for the days of a normal week, Monday to Sunday ({{xsdType|string}}, required) | *{{attr|operatingCode}}: a 7-digit bitmask (0/1) for the days of a normal week, Monday to Sunday ({{xsdType|string}}, required) | ||
*{{attr|onRequest}}: needed for "runs Monday to Friday and additionally Sunday on request" ({{xsdType|boolean}}, optional). | *{{attr|onRequest}} {{vers|> 2.0}}: needed for "runs Monday to Friday and additionally Sunday on request" ({{xsdType|boolean}}, optional). | ||
*{{attr|startDate}}: could be used to reduce the considered period ({{xsdType|date}}, optional). | *{{attr|startDate}}: could be used to reduce the considered period ({{xsdType|date}}, optional). | ||
*{{attr|endDate}}: could be used to reduce the considered period ({{xsdType|date}}, optional). | *{{attr|endDate}}: could be used to reduce the considered period ({{xsdType|date}}, optional). |
Revision as of 14:17, 25 February 2011
operatingDay
Scheme description / Schemenbeschreibung
Position of operatingDay in the XML-Tree / Position von operatingDay im XML-Baum
- Parent: operatingPeriod
- Children: operatingDayDeviance
Multiplicity / Anzahl
Semantics / Bedeutung
The Element operatingDay gives a week based abstract description of an operating period for a normal day. Variations for certain types of days (e.g. public holidays) are dealt with in operatingDayDeviance. Two different elements operatingDay are valid at the same time. Therefore the startDate and endDate should be used to delimit different period parts.
Das Element operatingDay gibt eine wochenbasierte Beschreibung der Verkehrsperiode für normale Tage. Besondere Tagestypen wie Feiertage werden im Unterelement operatingDayDeviance behandelt. Zwei unterschiedliche Elemente operatingDay gelten dabei gleichberechtigt. Sie sollten daher über startDate und endDate zeitlich nicht überlappend voneinander abgegrenzt werden.
Attributes of operatingDay / Attribute von operatingDay
- operatingCode: a 7-digit bitmask (0/1) for the days of a normal week, Monday to Sunday (xs:string, required)
- onRequest (> 2.0): needed for "runs Monday to Friday and additionally Sunday on request" (xs:boolean, optional).
- startDate: could be used to reduce the considered period (xs:date, optional).
- endDate: could be used to reduce the considered period (xs:date, optional).
Syntactic Constraints / Syntaktische Beschränkungen
Not yet described. / Noch nicht beschrieben.
Best practice & Examples / Empfohlene Anwendung & Beispiele
Train is driving Monday to Saturday:
<rail:operatingPeriod id="op16" description="Monday - Saturday"> <rail:operatingDay operatingCode="1111110"/> </rail:operatingPeriod>
Notes / Anmerkungen
Not yet described. / Noch nicht beschrieben.
Open issues / Offene Punkte/Pendenzen
Not yet described. / Noch nicht beschrieben.