Calendars¶
Holiday and weekend rules for business-day calculations. |
|
United States calendar market. |
|
Brazil calendar market. |
|
Australia market or regional calendar selection. |
|
Canada market or regional calendar selection. |
|
NewZealand market or regional calendar selection. |
|
SouthKorea market or regional calendar selection. |
|
China market or regional calendar selection. |
|
Business-day combination rule for a joint calendar. |
Native Calendar Variants¶
All native calendar variants are available through quantsupport.time.Calendar.
Country calendars are values of this class, not separate Python classes.
Rust calendar |
Python declaration |
|---|---|
NullCalendar |
|
WeekendsOnly |
|
TARGET |
|
UnitedKingdom |
|
Japan |
|
Chile |
|
UnitedStates |
|
Brazil |
|
Australia |
|
Canada |
|
NewZealand |
|
SouthKorea |
|
China |
|
Switzerland |
|
Norway |
|
Sweden |
|
Denmark |
|
SouthAfrica |
|
JointCalendar |
|
Calendar Operations¶
Business-day queries:
is_business_day(),is_holiday(), andis_weekend().Business month-end:
end_of_month()andis_end_of_month().Date ranges:
business_days_between(),holiday_list(), andbusiness_day_list().Independent overrides:
with_added_holiday()andwith_removed_holiday()return new values; they do not mutate shared calendar attributes.