holidays.countries.uzbekistan
Classes
|
|
|
|
|
References: |
- class holidays.countries.uzbekistan.Uzbekistan(*args, **kwargs)
Bases:
ObservedHolidayBase
,InternationalHolidays
,IslamicHolidays
,StaticHolidays
- References:
- Parameters:
years – The year(s) to pre-calculate public holidays for at instantiation.
expand – Whether the entire year is calculated when one date from that year is requested.
observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.
subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).
prov – deprecated use subdiv instead.
state – deprecated use subdiv instead.
language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.
categories – Requested holiday categories.
- Returns:
A
HolidayBase
object matching the country.
- country: str = 'UZ'
The country’s ISO 3166-1 alpha-2 code.
- default_language: str | None = 'uz'
The entity language used by default.
- estimated_label = '%s (taxminiy)'
- observed_label = '%s (ko‘chirilgan)'
- observed_estimated_label = '%s (ko‘chirilgan, taxminiy)'
- supported_languages: Tuple[str, ...] = ('en_US', 'uk', 'uz')
All languages supported by this entity.
- class holidays.countries.uzbekistan.UZ(*args, **kwargs)
Bases:
Uzbekistan
- Parameters:
years – The year(s) to pre-calculate public holidays for at instantiation.
expand – Whether the entire year is calculated when one date from that year is requested.
observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.
subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).
prov – deprecated use subdiv instead.
state – deprecated use subdiv instead.
language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.
categories – Requested holiday categories.
- Returns:
A
HolidayBase
object matching the country.
- class holidays.countries.uzbekistan.UZB(*args, **kwargs)
Bases:
Uzbekistan
- Parameters:
years – The year(s) to pre-calculate public holidays for at instantiation.
expand – Whether the entire year is calculated when one date from that year is requested.
observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.
subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).
prov – deprecated use subdiv instead.
state – deprecated use subdiv instead.
language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.
categories – Requested holiday categories.
- Returns:
A
HolidayBase
object matching the country.
- class holidays.countries.uzbekistan.UzbekistanIslamicHolidays
Bases:
_CustomIslamicHolidays
- EID_AL_ADHA_DATES_CUSTOM_CALENDAR = {2006: ((1, 10), (12, 30)), 2007: (12, 19), 2008: (12, 8), 2009: (11, 27), 2010: (11, 16), 2011: (11, 6), 2012: (10, 26), 2013: (10, 15), 2014: (10, 4), 2015: (9, 24), 2016: (9, 12), 2017: (9, 1), 2018: (8, 21), 2019: (8, 11), 2020: (7, 31), 2021: (7, 20), 2022: (7, 9), 2023: (6, 28)}
- EID_AL_FITR_DATES_CUSTOM_CALENDAR = {2006: (10, 23), 2007: (10, 13), 2008: (10, 1), 2009: (9, 21), 2010: (9, 10), 2011: (8, 31), 2012: (8, 19), 2013: (8, 9), 2014: (7, 28), 2015: (7, 18), 2016: (7, 6), 2017: (6, 26), 2018: (6, 15), 2019: (6, 5), 2020: (5, 24), 2021: (5, 13), 2022: (5, 2), 2023: (4, 21), 2024: (4, 10)}
- class holidays.countries.uzbekistan.UzbekistanStaticHolidays
Bases:
object
- substituted_date_format = '%d/%m %Y'
- substituted_label = 'Dam olish kuni (%s dan ko‘chirilgan)'
- additional_day_off = 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'
- special_public_holidays = {2018: ((1, 2, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (1, 3, 1, 6), (3, 19, 3, 17), (3, 22, 3, 24), (3, 30, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (8, 23, 8, 25), (8, 24, 8, 26), (8, 31, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (9, 3, 9, 8), (9, 4, 9, 15), (12, 31, 12, 29)), 2019: ((1, 2, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (1, 3, 1, 5), (3, 22, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (6, 6, 6, 1), (9, 2, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (9, 3, 9, 7), (12, 31, 12, 28)), 2020: ((1, 2, 1, 4), (3, 23, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (8, 31, 8, 29)), 2021: ((3, 22, 3, 27), (5, 14, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (7, 21, 7, 17), (7, 22, 7, 24), (9, 2, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (9, 3, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (12, 31, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni')), 2022: ((1, 3, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (1, 4, 1, 8), (3, 22, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (3, 23, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (5, 3, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (5, 4, 5, 7), (7, 11, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (7, 12, 7, 16), (9, 2, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni')), 2023: ((1, 2, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (1, 3, 1, 7), (3, 20, 3, 11), (3, 22, 3, 25), (4, 24, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (6, 29, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (6, 30, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni')), 2024: ((1, 2, 1, 6), (3, 22, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (4, 11, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (4, 12, 4, 13), (6, 18, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (9, 3, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'), (12, 30, 12, 14), (12, 31, 'Prezidentining farmoni bilan qo‘shimcha dam olish kuni'))}