Module: Holidays::BR
- Defined in:
- lib/generated_definitions/br.rb
Overview
This file is generated by the Ruby Holidays gem.
Definitions loaded: definitions/br.yaml
To use the definitions in this file, load it right after you load the Holiday gem:
require 'holidays'
require 'generated_definitions/br'
All the definitions are available at github.com/holidays/holidays
Class Method Summary collapse
Class Method Details
.custom_methods ⇒ Object
36 37 38 39 40 |
# File 'lib/generated_definitions/br.rb', line 36 def self.custom_methods { } end |
.defined_regions ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/generated_definitions/br.rb', line 15 def self.defined_regions [:br] end |
.holidays_by_month ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/generated_definitions/br.rb', line 19 def self.holidays_by_month { 0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -47, :type => :informal, :name => "Carnaval", :regions => [:br]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Sexta-feira Santa", :regions => [:br]}, {:function => "easter(year)", :function_arguments => [:year], :name => "Páscoa", :regions => [:br]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 60, :name => "Corpus Christi", :regions => [:br]}], 1 => [{:mday => 1, :name => "Dia da Confraternização Universal", :regions => [:br]}], 4 => [{:mday => 21, :name => "Dia de Tiradentes", :regions => [:br]}], 5 => [{:mday => 1, :name => "Dia do Trabalho", :regions => [:br]}], 9 => [{:mday => 7, :name => "Proclamação da Independência", :regions => [:br]}], 10 => [{:mday => 12, :name => "Dia de Nossa Senhora Aparecida", :regions => [:br]}], 11 => [{:mday => 2, :name => "Dia de Finados", :regions => [:br]}, {:mday => 15, :name => "Proclamação da República", :regions => [:br]}], 12 => [{:mday => 25, :name => "Natal", :regions => [:br]}] } end |