DayType

In Transmodel, a DAY TYPE is defined as a combination of various properties a day may have, and which will influence the transport demand and the running conditions (e.g. traffic flow for buses).

Any single condition that is relevant to the demand will be recorded as a particular PROPERTY OF DAY. For example, “workday”, “Sunday”, “school holidays”, “market day” would each be a PROPERTY OF DAY. A workday during school holidays, which is a market day, would be a DAY TYPE, formed with the combination of those three PROPERTies OF DAY.

The most classical PROPERTY OF DAY is the DAY OF WEEK (e.g. “Wednesday”); also common are “public holiday”, “Not a holiday” and “school term day”. A DAY TYPE may associate different properties of the same type (e.g. “Tuesday or Thursday”).

More than one PropertyOfDay instance can be specified for a single DayType in order to specify a compound condition.

·        Properties values specified on the same instance should be logically ANDed, for example [“Monday” AND “Public Holiday” and “Winter”].

·        Separate property instances should be logically ORed together, for example [[“Sunday” AND “Not Holiday” AND “Winter”] OR [“Monday” AND “Holiday” AND “Summer ]].

DayType – XML Element

Classification

Name

Type

Cardinality

Description

::>

::>

DataManagedObject

::>

DAY TYPE inherits from DATA MANAGED OBJECT.

«PK»

id

DayTypeIdType

1:1

Identifier of DAY TYPE.

 

Name

MultilingualString

0:1

Name of DAY TYPE.

 

ShortName

MultilingualString

0:1

Short name of DAY TYPE.

 

Description

MultilingualString

0:1

Description of DAY TYPE.

Currently not in use in the Austrian NeTEx Profile

«AK»

PrivateCode

PrivateCode

0:1

Alternative Identifier for DAY TYPE.

Currently not in use in the Austrian NeTEx Profile

 

EarliestTime

xsd:time

0:1

Earliest start time of DAY TYPE.

Currently not in use in the Austrian NeTEx Profile

 

DayLength

xsd:duration

0:1

Length of DAY TYPE.Currently not in use in the Austrian NeTEx Profile

«cntd»

properties

PropertyOfDay

0:*

PROPERTies of DAY TYPE.

Currently not in use in the Austrian NeTEx Profile

«cntd»

timebands

Timeband

0:*

TIMEBANDs of DAY TYPE.

Currently not in use in the Austrian NeTEx Profile

Example from the Austrian NeTEx Profile:

PropertyOfDay (Subcomponent of DayType)

A property which a day may possess, such as school holiday, weekdays, summer, winter, etc. This may be used to generate a description of a day type in many different natural languages.

PropertyOfDay – XML Element

Classification

Name

Type

Cardinality

Description

 

Name

MultilingualString

0:1

Name of PROPERTY OF DAY.

 

Description

MultilingualString

0:1

Description of PROPERTY OF DAY.

«enum»

DaysOfWeek

DayOfWeekEnum

0:7

Days of week assigned to PROPERTY OF DAY.

«enum»

WeeksOfMonth

WeekOfMonthEnum

0:5

Weeks of month (1-5) assigned to PROPERTY OF DAY.

 

a

MonthOfYear

xsd:gMonth

0:1

For those day types that occur on the same month every year; a month as a number.

 

b

DayOfMonth

xsd:gDay

0:1

For those day types that occur on the same day of the month; a month as a number.

 

c

DayOfYear

xsd:gMonthDay

0:1

For those day types that occur on the same day every year, month and day, assigned to PROPERTY OF DAY.

«enum»

CountryRef

CountryEnum

0:*

Country of Holiday type for PROPERTY OF DAY.

«enum»

HolidayTypes

HolidayTypeEnum

0:5

Holiday type assigned to PROPERTY OF DAY.

·        AnyDay,

·        WorkingDay, NotWorkingDay

·        SchoolDay, NotSchoolDay

·        AnyHoliday,

·        NotHoliday,

·        LocalHoliday,

·        RegionalHoliday,

·        NationalHoliday

·        HolidayDisplacementDay,

·        EveOfHoliday

«enum»

Seasons

SeasonEnum

0:4

Season of year assigned to PROPERTY OF DAY.

·        Spring,

·        Summer,

·        Autumn, Winter,

·        Perennially

«enum»

Tides

TideEnum

0:4

State of tide assigned to PROPERTY OF DAY.

«enum»

DayEvent

DayEventEnum

0:1

Events happening on day.

«enum»

Crowding

CrowdingEnum

0:1

Relative busyness of day.

·        veryQuiet

·        quiet

·        normal

·        busy

·        veryBusy

Currently this XML Element is not in use in the Austrian NeTEx Profile

Timeband (Subcomponent of DayType)

A period in a day, significant for some aspect of public transport, e.g. similar traffic conditions or fare category.

In EPIP TIMEBANDs are limited to use within a DAY TYPE

Timeband – XML Element

Classification

Name

Type

Cardinality

Description

::>

::>

DataManagedObject

::>

TIME BAND inherits from DATA MANAGED OBJECT.

Note that most inherited values are suppressed.

«FK»

id

TimebandIdType

1:1

Identifier of TIME BAND.

 

Name

MultilingualString

0:1

Name of TIME BAND.

 

StartTime

xsd:time

1:1

Inclusive start time of TIME BAND.

 

EndTime

xsd:time

1:1

Inclusive end time of TIME BAND.

 

DayOffset

xsd:integer

0:1

Day offset of end time from start time. If same day, zero.

Currently this XML Element is not in use in the Austrian NeTEx Profile