Class: Event
Represents an event that belongs to a schedule.
Hierarchy
-
↳
Event
Constructors
constructor
• new Event(data
, parent
): Event
Parameters
Name | Type | Description |
---|---|---|
data | RawScheduleItem | Data to process. |
parent | Schedule | Parent schedule to set. |
Returns
Overrides
Defined in
Properties
country
• country: string
The country the event takes place in.
Defined in
eventDate
• eventDate: Date
The date of the event, which is always at midnight of the same day, in UTC.
Defined in
eventFormat
• eventFormat: EventFormat
The format of the event.
Defined in
eventName
• eventName: string
The name of the event, without sponsors. This is shorter than the official event name.
Defined in
location
• location: string
The location the event takes place in. This is usually a city or an area.
Defined in
officialEventName
• officialEventName: string
The official event name, with sponsors, etc.