Holiday

Holiday

RT Holiday

Representation of the data in the rt_holidays table, which holds information about observed holidays and their service information.

Right Track Fields:

  • Date
  • Name
  • Peak
  • Service Information

Module: rt/Holiday

Constructor

new Holiday(date, name, peak, serviceInformation)

Source:

Right Track Holiday Constructor

Parameters:
Name Type Description
date int

Holiday Date (yyyymmdd)

name string

Holiday Name

peak boolean

Holiday Peak Status (true if there are still peak trains)

serviceInformation string

Holiday Service Information

Members

date :Number

Source:

The date of the Holiday in YYYYMMDD format

Type:
  • Number

name :string

Source:

The name of the Holiday

Type:
  • string

peak :boolean

Source:

Value indicating if Peak service is effective on the Holiday

Type:
  • boolean

serviceInformation :string

Source:

Descriptive information for the Holiday's service

Type:
  • string