HolidayCalendar
is an option that specifies the holiday calendar schedule in business day functions.
Details
- HolidayCalendar is {"UnitedStates","Default"} by default.
- HolidayCalendar can be set to either one of the prebuilt calendars contained in the CalendarData paclet, or to a custom calendar by specifying a set of holiday schedules.
- The basic unit of a holiday schedule is a holiday criterion, a three-element list of tests in the form of pure functions that are to be applied to the year, month, and day of a given calendar, respectively. A date is a holiday if all three tests return true when applied to it.
- A separate set of tests must be specified for each calendar system in which holidays are celebrated.
- Available calendar systems are:
-
"Gregorian" Gregorian solar calendar "Julian" Julian solar calendar "Jewish" Jewish lunisolar calendar "Islamic" Islamic lunar calendar (based on Mecca lunations) "Ecclesiastical" calendar for moveable feasts in the Roman Catholic liturgy "EcclesiasticalOrthodox" calendar for moveable feasts in the Greek Orthodox liturgy "Equinox" calendar for holidays associated with sidereal motion "ChineseLunar" Chinese lunisolar calendar "HinduLunar" Hindu lunisolar calendar
Examples
open allclose allBasic Examples (2)
Applications (1)
Use HolidayCalendar as an option for TimeSeries to visualize business days in a given country:
Wolfram Research (2012), HolidayCalendar, Wolfram Language function, https://reference.wolfram.com/language/ref/HolidayCalendar.html.
Text
Wolfram Research (2012), HolidayCalendar, Wolfram Language function, https://reference.wolfram.com/language/ref/HolidayCalendar.html.
CMS
Wolfram Language. 2012. "HolidayCalendar." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HolidayCalendar.html.
APA
Wolfram Language. (2012). HolidayCalendar. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HolidayCalendar.html