# SPDX-License-Identifier: MIT
# Holiday file for Palau
# Derived from the Python holidays project at
# https://github.com/vacanza/holidays
#
# See important caveats in the README file in this directory.

OMIT 1 January MSG %"New Year's Day%" %! %b.
REM 2 January ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"New Year's Day (observed)%" %! %b.
REM 14 March ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"Youth Day (observed)%" %! %b.
OMIT 15 March MSG %"Youth Day%" %! %b.
REM 16 March ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"Youth Day (observed)%" %! %b.
REM 4 May ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"Senior Citizens Day (observed)%" %! %b.
OMIT 5 May MSG %"Senior Citizens Day%" %! %b.
REM 6 May ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"Senior Citizens Day (observed)%" %! %b.
REM 31 May ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"President's Day (observed)%" %! %b.
OMIT 1 June MSG %"President's Day%" %! %b.
REM 2 June ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"President's Day (observed)%" %! %b.
REM 8 July ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"Constitution Day (observed)%" %! %b.
OMIT 9 July MSG %"Constitution Day%" %! %b.
REM 10 July ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"Constitution Day (observed)%" %! %b.
REM First Monday in September ADDOMIT SCANFROM -28 MSG %"Labor Day%" %! %b.
REM 30 September ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"Independence Day (observed)%" %! %b.
OMIT 1 October MSG %"Independence Day%" %! %b.
REM 2 October ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"Independence Day (observed)%" %! %b.
REM 23 October ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"United Nations Day (observed)%" %! %b.
OMIT 24 October MSG %"United Nations Day%" %! %b.
REM 25 October ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"United Nations Day (observed)%" %! %b.
REM Fourth Friday in November ADDOMIT SCANFROM -28 MSG %"Family Day%" %! %b.
REM Fourth Thursday in November ADDOMIT SCANFROM -28 MSG %"Thanksgiving Day%" %! %b.
REM 24 December ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"Christmas Day (observed)%" %! %b.
OMIT 25 December MSG %"Christmas Day%" %! %b.
REM 26 December ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T-1) == 0] MSG %"Christmas Day (observed)%" %! %b.
REM 31 December ADDOMIT SCANFROM -28 SATISFY [wkdaynum($T+1) == 6] MSG %"New Year's Day (observed)%" %! %b.
