swedish_holidays 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/2000 +102 -65
- data/data/2001 +102 -65
- data/data/2002 +102 -65
- data/data/2003 +102 -65
- data/data/2004 +102 -65
- data/data/2005 +102 -65
- data/data/2006 +102 -65
- data/data/2007 +102 -65
- data/data/2008 +96 -60
- data/data/2009 +102 -65
- data/data/2010 +102 -65
- data/data/2011 +102 -65
- data/data/2012 +102 -65
- data/data/2013 +102 -65
- data/data/2014 +102 -65
- data/data/2015 +102 -65
- data/data/2016 +102 -65
- data/data/2017 +102 -65
- data/data/2018 +102 -65
- data/data/2019 +102 -65
- data/data/2020 +102 -65
- data/data/2021 +102 -65
- data/data/2022 +102 -65
- data/data/2023 +102 -65
- data/data/2024 +102 -65
- data/data/2025 +102 -65
- data/data/2026 +102 -65
- data/data/2027 +102 -65
- data/data/2028 +102 -65
- data/data/2029 +102 -65
- data/data/2030 +102 -65
- data/data/2031 +102 -65
- data/data/2032 +102 -65
- data/data/2033 +102 -65
- data/data/2034 +102 -65
- data/data/2035 +102 -65
- data/data/2036 +102 -65
- data/data/2037 +102 -65
- data/data/2038 +102 -65
- data/data/2039 +102 -65
- data/data/2040 +102 -65
- data/data/2041 +102 -65
- data/data/2042 +102 -65
- data/data/2043 +102 -65
- data/data/2044 +102 -65
- data/data/2045 +102 -65
- data/data/2046 +102 -65
- data/data/2047 +102 -65
- data/data/2048 +102 -65
- data/data/2049 +96 -60
- data/lib/swedish_holidays.rb +7 -7
- data/lib/swedish_holidays/holiday.rb +15 -7
- data/lib/swedish_holidays/utils.rb +4 -4
- metadata +2 -2
data/data/2027
CHANGED
@@ -1,66 +1,103 @@
|
|
1
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
|
-
:
|
2
|
+
- :date: '2018-01-01'
|
3
|
+
:name: Nyårsdagen
|
4
|
+
:week: 1
|
5
|
+
:weekday: Måndag
|
6
|
+
:yday: 1
|
7
|
+
:real_holiday: true
|
8
|
+
- :date: '2018-01-06'
|
9
|
+
:name: Trettondedag jul
|
10
|
+
:week: 1
|
11
|
+
:weekday: Lördag
|
12
|
+
:yday: 6
|
13
|
+
:real_holiday: true
|
14
|
+
- :date: '2018-03-30'
|
15
|
+
:name: Långfredagen
|
16
|
+
:week: 13
|
17
|
+
:weekday: Fredag
|
18
|
+
:yday: 89
|
19
|
+
:real_holiday: true
|
20
|
+
- :date: '2018-03-31'
|
21
|
+
:name: Påskafton
|
22
|
+
:week: 13
|
23
|
+
:weekday: Lördag
|
24
|
+
:yday: 90
|
25
|
+
:real_holiday: false
|
26
|
+
- :date: '2018-04-01'
|
27
|
+
:name: Påskdagen
|
28
|
+
:week: 13
|
29
|
+
:weekday: Söndag
|
30
|
+
:yday: 91
|
31
|
+
:real_holiday: true
|
32
|
+
- :date: '2018-04-02'
|
33
|
+
:name: Annandag påsk
|
34
|
+
:week: 14
|
35
|
+
:weekday: Måndag
|
36
|
+
:yday: 92
|
37
|
+
:real_holiday: true
|
38
|
+
- :date: '2018-05-01'
|
39
|
+
:name: Första maj
|
40
|
+
:week: 18
|
41
|
+
:weekday: Tisdag
|
42
|
+
:yday: 121
|
43
|
+
:real_holiday: true
|
44
|
+
- :date: '2018-05-10'
|
45
|
+
:name: Kristi himmelfärdsdag
|
46
|
+
:week: 19
|
47
|
+
:weekday: Torsdag
|
48
|
+
:yday: 130
|
49
|
+
:real_holiday: true
|
50
|
+
- :date: '2018-05-20'
|
51
|
+
:name: Pingstdagen
|
52
|
+
:week: 20
|
53
|
+
:weekday: Söndag
|
54
|
+
:yday: 140
|
55
|
+
:real_holiday: true
|
56
|
+
- :date: '2018-06-06'
|
57
|
+
:name: Sveriges nationaldag
|
58
|
+
:week: 23
|
59
|
+
:weekday: Onsdag
|
60
|
+
:yday: 157
|
61
|
+
:real_holiday: true
|
62
|
+
- :date: '2018-06-22'
|
63
|
+
:name: Midsommarafton
|
64
|
+
:week: 25
|
65
|
+
:weekday: Fredag
|
66
|
+
:yday: 173
|
67
|
+
:real_holiday: false
|
68
|
+
- :date: '2018-06-23'
|
69
|
+
:name: Midsommardagen
|
70
|
+
:week: 25
|
71
|
+
:weekday: Lördag
|
72
|
+
:yday: 174
|
73
|
+
:real_holiday: true
|
74
|
+
- :date: '2018-11-03'
|
75
|
+
:name: Alla helgons dag
|
76
|
+
:week: 44
|
77
|
+
:weekday: Lördag
|
78
|
+
:yday: 307
|
79
|
+
:real_holiday: true
|
80
|
+
- :date: '2018-12-24'
|
81
|
+
:name: Julafton
|
82
|
+
:week: 52
|
83
|
+
:weekday: Måndag
|
84
|
+
:yday: 358
|
85
|
+
:real_holiday: false
|
86
|
+
- :date: '2018-12-25'
|
87
|
+
:name: Juldagen
|
88
|
+
:week: 52
|
89
|
+
:weekday: Tisdag
|
90
|
+
:yday: 359
|
91
|
+
:real_holiday: true
|
92
|
+
- :date: '2018-12-26'
|
93
|
+
:name: Annandag jul
|
94
|
+
:week: 52
|
95
|
+
:weekday: Onsdag
|
96
|
+
:yday: 360
|
97
|
+
:real_holiday: true
|
98
|
+
- :date: '2018-12-31'
|
99
|
+
:name: Nyårsafton
|
100
|
+
:week: 1
|
101
|
+
:weekday: Måndag
|
102
|
+
:yday: 365
|
103
|
+
:real_holiday: false
|
data/data/2028
CHANGED
@@ -1,66 +1,103 @@
|
|
1
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
|
-
:
|
2
|
+
- :date: '2018-01-01'
|
3
|
+
:name: Nyårsdagen
|
4
|
+
:week: 1
|
5
|
+
:weekday: Måndag
|
6
|
+
:yday: 1
|
7
|
+
:real_holiday: true
|
8
|
+
- :date: '2018-01-06'
|
9
|
+
:name: Trettondedag jul
|
10
|
+
:week: 1
|
11
|
+
:weekday: Lördag
|
12
|
+
:yday: 6
|
13
|
+
:real_holiday: true
|
14
|
+
- :date: '2018-03-30'
|
15
|
+
:name: Långfredagen
|
16
|
+
:week: 13
|
17
|
+
:weekday: Fredag
|
18
|
+
:yday: 89
|
19
|
+
:real_holiday: true
|
20
|
+
- :date: '2018-03-31'
|
21
|
+
:name: Påskafton
|
22
|
+
:week: 13
|
23
|
+
:weekday: Lördag
|
24
|
+
:yday: 90
|
25
|
+
:real_holiday: false
|
26
|
+
- :date: '2018-04-01'
|
27
|
+
:name: Påskdagen
|
28
|
+
:week: 13
|
29
|
+
:weekday: Söndag
|
30
|
+
:yday: 91
|
31
|
+
:real_holiday: true
|
32
|
+
- :date: '2018-04-02'
|
33
|
+
:name: Annandag påsk
|
34
|
+
:week: 14
|
35
|
+
:weekday: Måndag
|
36
|
+
:yday: 92
|
37
|
+
:real_holiday: true
|
38
|
+
- :date: '2018-05-01'
|
39
|
+
:name: Första maj
|
40
|
+
:week: 18
|
41
|
+
:weekday: Tisdag
|
42
|
+
:yday: 121
|
43
|
+
:real_holiday: true
|
44
|
+
- :date: '2018-05-10'
|
45
|
+
:name: Kristi himmelfärdsdag
|
46
|
+
:week: 19
|
47
|
+
:weekday: Torsdag
|
48
|
+
:yday: 130
|
49
|
+
:real_holiday: true
|
50
|
+
- :date: '2018-05-20'
|
51
|
+
:name: Pingstdagen
|
52
|
+
:week: 20
|
53
|
+
:weekday: Söndag
|
54
|
+
:yday: 140
|
55
|
+
:real_holiday: true
|
56
|
+
- :date: '2018-06-06'
|
57
|
+
:name: Sveriges nationaldag
|
58
|
+
:week: 23
|
59
|
+
:weekday: Onsdag
|
60
|
+
:yday: 157
|
61
|
+
:real_holiday: true
|
62
|
+
- :date: '2018-06-22'
|
63
|
+
:name: Midsommarafton
|
64
|
+
:week: 25
|
65
|
+
:weekday: Fredag
|
66
|
+
:yday: 173
|
67
|
+
:real_holiday: false
|
68
|
+
- :date: '2018-06-23'
|
69
|
+
:name: Midsommardagen
|
70
|
+
:week: 25
|
71
|
+
:weekday: Lördag
|
72
|
+
:yday: 174
|
73
|
+
:real_holiday: true
|
74
|
+
- :date: '2018-11-03'
|
75
|
+
:name: Alla helgons dag
|
76
|
+
:week: 44
|
77
|
+
:weekday: Lördag
|
78
|
+
:yday: 307
|
79
|
+
:real_holiday: true
|
80
|
+
- :date: '2018-12-24'
|
81
|
+
:name: Julafton
|
82
|
+
:week: 52
|
83
|
+
:weekday: Måndag
|
84
|
+
:yday: 358
|
85
|
+
:real_holiday: false
|
86
|
+
- :date: '2018-12-25'
|
87
|
+
:name: Juldagen
|
88
|
+
:week: 52
|
89
|
+
:weekday: Tisdag
|
90
|
+
:yday: 359
|
91
|
+
:real_holiday: true
|
92
|
+
- :date: '2018-12-26'
|
93
|
+
:name: Annandag jul
|
94
|
+
:week: 52
|
95
|
+
:weekday: Onsdag
|
96
|
+
:yday: 360
|
97
|
+
:real_holiday: true
|
98
|
+
- :date: '2018-12-31'
|
99
|
+
:name: Nyårsafton
|
100
|
+
:week: 1
|
101
|
+
:weekday: Måndag
|
102
|
+
:yday: 365
|
103
|
+
:real_holiday: false
|
data/data/2029
CHANGED
@@ -1,66 +1,103 @@
|
|
1
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
|
-
:
|
2
|
+
- :date: '2018-01-01'
|
3
|
+
:name: Nyårsdagen
|
4
|
+
:week: 1
|
5
|
+
:weekday: Måndag
|
6
|
+
:yday: 1
|
7
|
+
:real_holiday: true
|
8
|
+
- :date: '2018-01-06'
|
9
|
+
:name: Trettondedag jul
|
10
|
+
:week: 1
|
11
|
+
:weekday: Lördag
|
12
|
+
:yday: 6
|
13
|
+
:real_holiday: true
|
14
|
+
- :date: '2018-03-30'
|
15
|
+
:name: Långfredagen
|
16
|
+
:week: 13
|
17
|
+
:weekday: Fredag
|
18
|
+
:yday: 89
|
19
|
+
:real_holiday: true
|
20
|
+
- :date: '2018-03-31'
|
21
|
+
:name: Påskafton
|
22
|
+
:week: 13
|
23
|
+
:weekday: Lördag
|
24
|
+
:yday: 90
|
25
|
+
:real_holiday: false
|
26
|
+
- :date: '2018-04-01'
|
27
|
+
:name: Påskdagen
|
28
|
+
:week: 13
|
29
|
+
:weekday: Söndag
|
30
|
+
:yday: 91
|
31
|
+
:real_holiday: true
|
32
|
+
- :date: '2018-04-02'
|
33
|
+
:name: Annandag påsk
|
34
|
+
:week: 14
|
35
|
+
:weekday: Måndag
|
36
|
+
:yday: 92
|
37
|
+
:real_holiday: true
|
38
|
+
- :date: '2018-05-01'
|
39
|
+
:name: Första maj
|
40
|
+
:week: 18
|
41
|
+
:weekday: Tisdag
|
42
|
+
:yday: 121
|
43
|
+
:real_holiday: true
|
44
|
+
- :date: '2018-05-10'
|
45
|
+
:name: Kristi himmelfärdsdag
|
46
|
+
:week: 19
|
47
|
+
:weekday: Torsdag
|
48
|
+
:yday: 130
|
49
|
+
:real_holiday: true
|
50
|
+
- :date: '2018-05-20'
|
51
|
+
:name: Pingstdagen
|
52
|
+
:week: 20
|
53
|
+
:weekday: Söndag
|
54
|
+
:yday: 140
|
55
|
+
:real_holiday: true
|
56
|
+
- :date: '2018-06-06'
|
57
|
+
:name: Sveriges nationaldag
|
58
|
+
:week: 23
|
59
|
+
:weekday: Onsdag
|
60
|
+
:yday: 157
|
61
|
+
:real_holiday: true
|
62
|
+
- :date: '2018-06-22'
|
63
|
+
:name: Midsommarafton
|
64
|
+
:week: 25
|
65
|
+
:weekday: Fredag
|
66
|
+
:yday: 173
|
67
|
+
:real_holiday: false
|
68
|
+
- :date: '2018-06-23'
|
69
|
+
:name: Midsommardagen
|
70
|
+
:week: 25
|
71
|
+
:weekday: Lördag
|
72
|
+
:yday: 174
|
73
|
+
:real_holiday: true
|
74
|
+
- :date: '2018-11-03'
|
75
|
+
:name: Alla helgons dag
|
76
|
+
:week: 44
|
77
|
+
:weekday: Lördag
|
78
|
+
:yday: 307
|
79
|
+
:real_holiday: true
|
80
|
+
- :date: '2018-12-24'
|
81
|
+
:name: Julafton
|
82
|
+
:week: 52
|
83
|
+
:weekday: Måndag
|
84
|
+
:yday: 358
|
85
|
+
:real_holiday: false
|
86
|
+
- :date: '2018-12-25'
|
87
|
+
:name: Juldagen
|
88
|
+
:week: 52
|
89
|
+
:weekday: Tisdag
|
90
|
+
:yday: 359
|
91
|
+
:real_holiday: true
|
92
|
+
- :date: '2018-12-26'
|
93
|
+
:name: Annandag jul
|
94
|
+
:week: 52
|
95
|
+
:weekday: Onsdag
|
96
|
+
:yday: 360
|
97
|
+
:real_holiday: true
|
98
|
+
- :date: '2018-12-31'
|
99
|
+
:name: Nyårsafton
|
100
|
+
:week: 1
|
101
|
+
:weekday: Måndag
|
102
|
+
:yday: 365
|
103
|
+
:real_holiday: false
|