Module: Holidays::RO
- Defined in:
- lib/holidays/ro.rb
Overview
This file is generated by the Ruby Holidays gem.
Definitions loaded: data/ro.yaml
To use the definitions in this file, load it right after you load the Holiday gem:
require 'holidays'
require 'holidays/ro'
All the definitions are available at github.com/alexdunae/holidays
Class Method Summary collapse
Class Method Details
.defined_regions ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/holidays/ro.rb', line 15 def self.defined_regions [:ro] end |
.holidays_by_month ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/holidays/ro.rb', line 19 def self.holidays_by_month { 0 => [{:function => lambda { |year| Holidays.orthodox_easter(year) }, :function_id => "orthodox_easter(year)", :name => "Paștele", :regions => [:ro]}, {:function => lambda { |year| Holidays.orthodox_easter(year)+1 }, :function_id => "orthodox_easter(year)+1", :name => "Paștele", :regions => [:ro]}, {:function => lambda { |year| Holidays.orthodox_easter(year) + 49 }, :function_id => "orthodox_easter(year) + 49", :name => "Rusaliile", :regions => [:ro]}, {:function => lambda { |year| Holidays.orthodox_easter(year) + 50 }, :function_id => "orthodox_easter(year) + 50", :name => "Rusaliile", :regions => [:ro]}], 1 => [{:mday => 1, :name => "Anul nou", :regions => [:ro]}, {:mday => 2, :name => "Anul nou", :regions => [:ro]}], 5 => [{:mday => 1, :name => "Ziua muncii", :regions => [:ro]}], 8 => [{:mday => 15, :name => "Adormirea Maicii Domnului", :regions => [:ro]}], 11 => [{:mday => 30, :name => "Sfântul Apostol Andrei", :regions => [:ro]}], 12 => [{:mday => 1, :name => "Ziua Națională", :regions => [:ro]}, {:mday => 25, :name => "Sărbătoarea Nașterii Domnului", :regions => [:ro]}, {:mday => 26, :name => "Sărbătoarea Nașterii Domnului", :regions => [:ro]}] } end |