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

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



31
32
33
34
35
# File 'lib/generated_definitions/br.rb', line 31

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



9
10
11
# File 'lib/generated_definitions/br.rb', line 9

def self.defined_regions
  [:br]
end

.holidays_by_monthObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/generated_definitions/br.rb', line 13

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]},
        {:mday => 20, :year_ranges => { :from => 2024 },:name => "Dia Nacional de Zumbi e da Consciência Negra", :regions => [:br]}],
  12 => [{:mday => 25, :name => "Natal", :regions => [:br]}]
  }
end