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
To use the definitions in this file, load it right after you load the Holiday gem:
require 'holidays'
require 'generated_definitions/no'
All the definitions are available at github.com/holidays/holidays
Class Method Summary collapse
Class Method Details
.custom_methods ⇒ Object
40 41 42 43 44 |
# File 'lib/generated_definitions/no.rb', line 40 def self.custom_methods { } end |
.defined_regions ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/generated_definitions/no.rb', line 15 def self.defined_regions [:no] end |
.holidays_by_month ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/generated_definitions/no.rb', line 19 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 |