Module: Holidays::PT

Defined in:
lib/generated_definitions/pt.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/pt.yaml

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



34
35
36
37
38
# File 'lib/generated_definitions/pt.rb', line 34

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:pt, :pt_li, :pt_po]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
            0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -47, :type => :informal, :name => "Carnaval", :regions => [:pt]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Sexta-feira Santa", :regions => [:pt]},
        {:function => "easter(year)", :function_arguments => [:year], :name => "Páscoa", :regions => [:pt]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 60, :name => "Corpo de Deus", :regions => [:pt]}],
  1 => [{:mday => 1, :name => "Ano Novo", :regions => [:pt]}],
  4 => [{:mday => 25, :name => "Dia da Liberdade", :regions => [:pt]}],
  5 => [{:mday => 1, :name => "Dia do Trabalhador", :regions => [:pt]}],
  6 => [{:mday => 10, :name => "Dia de Portugal", :regions => [:pt]},
        {:mday => 13, :name => "Dia de Santo António", :regions => [:pt_li]},
        {:mday => 24, :name => "Dia de São João", :regions => [:pt_po]}],
  8 => [{:mday => 15, :name => "Assunção de Nossa Senhora", :regions => [:pt]}],
  10 => [{:mday => 5, :name => "Dia da República", :regions => [:pt]}],
  11 => [{:mday => 1, :name => "Dia de Todos-os-Santos", :regions => [:pt]}],
  12 => [{:mday => 1, :name => "Restauração da Independência", :regions => [:pt]},
        {:mday => 8, :name => "Imaculada Conceição", :regions => [:pt]},
        {:mday => 25, :name => "Natal", :regions => [:pt]}]
  }
end