Module: Holidays::LI

Defined in:
lib/holidays/li.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: data/li.yaml

To use the definitions in this file, load it right after you load the Holiday gem:

require 'holidays'
require 'holidays/li'

All the definitions are available at github.com/alexdunae/holidays

Class Method Summary (collapse)

Class Method Details

+ (Object) defined_regions



15
16
17
# File 'lib/holidays/li.rb', line 15

def self.defined_regions
  [:li]
end

+ (Object) holidays_by_month



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/holidays/li.rb', line 19

def self.holidays_by_month
  {
          0 => [{:function => lambda { |year| Holidays.easter(year)-47 }, :function_id => "easter(year)-47", :name => "Fasnachtsdienstag", :regions => [:li]},
        {:function => lambda { |year| Holidays.easter(year)-2 }, :function_id => "easter(year)-2", :name => "Karfreitag", :regions => [:li]},
        {:function => lambda { |year| Holidays.easter(year) }, :function_id => "easter(year)", :type => :informal, :name => "Ostern", :regions => [:li]},
        {:function => lambda { |year| Holidays.easter(year)+1 }, :function_id => "easter(year)+1", :name => "Ostermontag", :regions => [:li]},
        {:function => lambda { |year| Holidays.easter(year)+39 }, :function_id => "easter(year)+39", :name => "Auffahrt", :regions => [:li]},
        {:function => lambda { |year| Holidays.easter(year)+50 }, :function_id => "easter(year)+50", :name => "Pfingstmontag", :regions => [:li]},
        {:function => lambda { |year| Holidays.easter(year)+60 }, :function_id => "easter(year)+60", :name => "Fronleichnam", :regions => [:li]}],
  1 => [{:mday => 1, :name => "Neujahrstag", :regions => [:li]},
        {:mday => 6, :name => "Heilige Drei Könige", :regions => [:li]}],
  2 => [{:mday => 2, :name => "Maria Lichtmess", :regions => [:li]}],
  3 => [{:mday => 19, :name => "St. Josef", :regions => [:li]}],
  5 => [{:mday => 1, :name => "Tag der Arbeit", :regions => [:li]}],
  8 => [{:mday => 15, :name => "Staatsfeiertag", :regions => [:li]}],
  9 => [{:mday => 8, :name => "Maria Geburt", :regions => [:li]}],
  11 => [{:mday => 1, :name => "Allerheiligen", :regions => [:li]}],
  12 => [{:mday => 8, :name => "Maria Empfängnis", :regions => [:li]},
        {:mday => 24, :name => "Heilig Abend", :regions => [:li]},
        {:mday => 25, :name => "Weihnachten", :regions => [:li]},
        {:mday => 26, :name => "Stefanstag", :regions => [:li]},
        {:mday => 31, :name => "Silvester", :regions => [:li]}]
  }
end