SpecialDates

From SignalWiki
Jump to navigation Jump to search

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers



Special dates like Christmas, New Year's, and country or region-specific holidays (like Queen's Day in the Netherlands) can be defined in this table. Dates are defined using both day, month, and year, as some holidays occur on different dates in different years. If the database designer wants to have a holiday defined for a 5 year period, then 5 entries need to be made for that specific holiday.

ID
(int)
Automatically incremented.
SpecialDate
(date)
Defines the holiday's date, including the year. Example: 1/1/2011 for New Year's Day.
SpecialDateDescription_EN
(string)
English name of the holiday.
SpecialDateDescription_NL
(string)
Dutch name of the holiday.
SpecialDateDescription_DE
(string)
German name of the holiday.
SpecialDateDayOfWeek
(int)
In the event that the simulation runs on the given holiday, trains will run as specified. Values are 0 - 6 where 0 = Monday, 1 = Tuesday, ... 6 = Sunday. This means that if the value is "6" then trains will run as though it were a Sunday, regardless of what the day of the week actually is.



Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers