/
test.cal
69 lines (64 loc) · 1.9 KB
/
test.cal
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
LANG=C
ANNIV=%1$d: %2$d year(s) ago%1$d: this year%1$d: in %2$d year(s)
Easter=Ostern
6/15 June 15 (if ambiguous, will default to month/day).
06-15 also June 15ᵗʰ
Jun. 15 June 15.
15 June June 15.
Thursday Every Thursday.
June Every June 1st.
15 * 15th of every month.
15 * 2020, 15th of every month in 2020.
May Sun+2 second Sunday in May (Muttertag)
04/SunLast last Sunday in April,
summer time in Europe
Feb Sat-2 2023, Feb Sat-2 2023
Easter Easter
Ostern-2 1970, Good Friday (2 days before Easter)
Paskha Orthodox Easter
Pesach+1 Second Day of Passover /* Jewish Pesach */
Advent-1 Beginn der Adventszeit, erste Vesper
Advent+21 Vierter Adventssontag
WedThird 19:00–21:00 OSAMC (außer Dezember meist)
Oct 21 2020, 15:00–15:30 Meeting
Jan 18 2022, OpenJDK 8u322 GA
Wed 10:30[America/Denver] (18:30) MuseScore Café
Dec 21* 2022, 21:48[UTC] Yul (Wintersonnenwende, Mittwinter)
/* an open-ended event yields same -P output as one on the dot (like above) */
Dec 24 17:00– Heiligabend
/* anniversaries recur yearly not once like appointments (above) */
Aug 29 MirOS Project started, 2002
/* $MirOS: src/usr.bin/calendar/test.cal,v 1.7 2021/12/17 15:08:04 tg Exp $ */
#ifdef debug_parsecvt
Mon-4 on=Mon-4
Mon-3 on=Mon-3
Mon-2 on=Mon-2
Mon-1 on=Mon-1
Mon-0 on=Mon-0
Mon+0 on=Mon+0
Mon+1 on=Mon+1
Mon+2 on=Mon+2
Mon+3 on=Mon+3
Mon+4 on=Mon+4
Mon+5 on=Mon+5
MonLast on=MonLast /* Mon-1 */
MonFirst on=MonFirst /* Mon+1 */
MonSecond on=MonSecond /* Mon+2 */
MonThird on=MonThird /* Mon+3 */
MonFourth on=MonFourth /* Mon+4 */
Tue+1 on=Tue+1
Wed+1 on=Wed+1
Thu+1 on=Thu+1
Fri+1 on=Fri+1
Sat+1 on=Sat+1
Sun+1 on=Sun+1
#endif
#ifdef debug_advent
Advent+21 2021, 4. Advent (should be 19)
Advent+21 2022, 4. Advent (should be 18)
Advent+21 2023, 4. Advent (should be 24)
Advent+21 2024, 4. Advent (should be 22)
Advent+21 2025, 4. Advent (should be 21)
Advent+21 2026, 4. Advent (should be 20)
Advent+21 2029, 4. Advent (should be 23)
#endif