File: README

package info (click to toggle)
remind 06.02.03-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 40,888 kB
  • sloc: ansic: 25,719; sh: 6,377; perl: 3,076; lisp: 432; makefile: 263
file content (51 lines) | stat: -rw-r--r-- 1,903 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
This directory contains holiday files.  The two-character files contain
holidays for various countries.  Some countries (such as US and CA) have
regions with their own different holidays; the regional holidays are
stored in *.rem files underneath the country-code directory (eg, us and ca,
respectively.)

Many of these files were generated from the excellent "holidays" Python
library at https://pypi.org/project/holidays/

I did great damage to the library and host a terrible, awful hacked version
at https://github.com/dfskoll/holidays; it is this repo (in the remind-output
branch) that I used to generate the Remind files.

********************** IMPORTANT CAVEATS **********************

Any holidays that depend on a non-Gregorian calendar such as Jewish,
Islamic, Chinese and other East Asian calendars will NOT appear in the
country files!  The only exceptions are holidays depending on the
Orthodox Easter date, for which Remind has support.

Also, I have made no effort to track changes to holiday legislation
over time.  Therefore, the holiday files may be inaccurate for years
prior to 2024.  I also did not include any one-off holidays such as
the funeral of Queen Elizabeth on 19 September 2022.

Non-country holiday files are:

chinese-new-year.rem - Chinese New Year from 2022 through 2050
discordian.rem       - Discordian holidays
jewish.rem           - Jewish holidays
pagan.rem            - Pagan holidays

ADVANCE WARNING:
================

None of the included holiday files have deltas.  You can use the
following trick if you would like (for example) 7 days' advance
warning of holidays:

    # Save old value of $DefaultDelta
    PUSH-VARS $DefaultDelta

    # We want 7 days' advance warning
    SET $DefaultDelta 7

    # Include your holiday files here...
    SYSINCLUDE holidays/us.rem
    SYSINCLUDE holidays/us/ny.rem

    # Restore old value $DefaultDelta
    POP-VARS