Module: Holidays::AT

Defined in:
lib/holidays/at.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: data/at.yaml

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

require 'holidays'
require 'holidays/at'

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

Class Method Summary collapse

Class Method Details

.defined_regionsObject



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

def self.defined_regions
  [:at]
end

.holidays_by_monthObject



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/holidays/at.rb', line 19

def self.holidays_by_month
  {
          0 => [{:function => lambda { |year| Holidays.easter(year)+1 }, :function_id => "easter(year)+1", :name => "Ostermontag", :regions => [:at]},
        {:function => lambda { |year| Holidays.easter(year)+39 }, :function_id => "easter(year)+39", :name => "Christi Himmelfahrt", :regions => [:at]},
        {:function => lambda { |year| Holidays.easter(year)+50 }, :function_id => "easter(year)+50", :name => "Pfingstmontag", :regions => [:at]},
        {:function => lambda { |year| Holidays.easter(year)+60 }, :function_id => "easter(year)+60", :name => "Fronleichnam", :regions => [:at]}],
  1 => [{:mday => 1, :name => "Neujahrstag", :regions => [:at]},
        {:mday => 6, :name => "Heilige Drei Könige", :regions => [:at]}],
  5 => [{:mday => 1, :name => "Staatsfeiertag", :regions => [:at]}],
  8 => [{:mday => 15, :name => "Mariä Himmelfahrt", :regions => [:at]}],
  10 => [{:mday => 26, :name => "Nationalfeiertag", :regions => [:at]}],
  11 => [{:mday => 1, :name => "Allerheiligen", :regions => [:at]}],
  12 => [{:mday => 8, :name => "Mariä Empfägnis", :regions => [:at]},
        {:mday => 25, :name => "1. Weihnachtstag", :regions => [:at]},
        {:mday => 26, :name => "2. Weihnachtstag", :regions => [:at]}]
  }
end