File: austria.py

package info (click to toggle)
python-workalendar 17.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,568 kB
  • sloc: python: 16,500; makefile: 34; sh: 5
file content (26 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from ..core import WesternCalendar
from ..registry_tools import iso_register


@iso_register('AT')
class Austria(WesternCalendar):
    'Austria'

    FIXED_HOLIDAYS = WesternCalendar.FIXED_HOLIDAYS + (
        (10, 26, "National Holiday"),  # Nationalfeiertag
    )
    # Civil holidays
    include_labour_day = True
    labour_day_label = "State Holiday"  # Staatsfeiertag
    # Christian holidays
    include_epiphany = True
    include_easter_monday = True
    include_ascension = True
    include_whit_monday = True
    include_corpus_christi = True
    include_assumption = True
    include_all_saints = True
    include_immaculate_conception = True
    include_christmas = True
    include_boxing_day = True
    boxing_day_label = "St. Stephen's Day"  # Stefanitag