Module: Holidays::NO
- Defined in:
- lib/generated_definitions/no.rb
Overview
This file is generated by the Ruby Holidays gem.
Definitions loaded: definitions/no.yaml
All the definitions are available at github.com/holidays/holidays
Class Method Summary collapse
Class Method Details
.custom_methods ⇒ Object
34 35 36 37 38 |
# File 'lib/generated_definitions/no.rb', line 34 def self.custom_methods { } end |
.defined_regions ⇒ Object
:nodoc:
9 10 11 |
# File 'lib/generated_definitions/no.rb', line 9 def self.defined_regions [:no] end |
.holidays_by_month ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/generated_definitions/no.rb', line 13 def self.holidays_by_month { 0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -49, :type => :informal, :name => "Fastelavn", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -7, :name => "Palmesøndag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -3, :name => "Skjærtorsdag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Langfredag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :name => "1. påskedag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "2. påskedag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 39, :name => "Kristi Himmelfartsdag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 49, :name => "1. pinsedag", :regions => [:no]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "2. pinsedag", :regions => [:no]}], 1 => [{:mday => 1, :name => "Nyttårsdag", :regions => [:no]}], 5 => [{:mday => 1, :name => "1. mai", :regions => [:no]}, {:mday => 17, :name => "17. mai", :regions => [:no]}], 12 => [{:mday => 24, :type => :informal, :name => "Julaften", :regions => [:no]}, {:mday => 25, :name => "1. juledag", :regions => [:no]}, {:mday => 26, :name => "2. juledag", :regions => [:no]}, {:mday => 31, :type => :informal, :name => "Nyttårsaften", :regions => [:no]}] } end |