C_Calendar .GetHolidayInfo
Jump to navigation
Jump to search
Returns seasonal holiday info.
event = C_Calendar.GetHolidayInfo(monthOffset, monthDay, index)
Arguments
- monthOffset
- number - The offset from the current month (only accepts 0 or 1).
- monthDay
- number - The day of the month.
- index
- number
Returns
- event
- CalendarHolidayInfo
Field | Type | Description |
---|---|---|
name | string | |
description | string | |
texture | number | |
startTime | CalendarTime? | |
endTime | CalendarTime? |
Field | Type | Description |
---|---|---|
year | number | The current year (e.g. 2019) |
month | number | The current month [1-12] |
monthDay | number | The current day of the month [1-31] |
weekday | number | The current day of the week (1=Sunday, 2=Monday, ..., 7=Saturday) |
hour | number | The current time in hours [0-23] |
minute | number | The current time in minutes [0-59] |
Patch changes
Patch 7.2.0 (2017-03-28): Returns structured data and moved to C_Calendar.GetHolidayInfo()
[1]
Patch 3.1.3 (2009-06-02): Added as CalendarGetHolidayInfo()