# encoding: utf-8
module Holidays
  # This file is generated by the Ruby Holidays gem.
  #
  # Definitions loaded: definitions/pe.yaml
  #
  # All the definitions are available at https://github.com/holidays/holidays
  module PE # :nodoc:
    def self.defined_regions
      [:pe]
    end

    def self.holidays_by_month
      {
              0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -3, :name => "Jueves Santo", :regions => [:pe]},
            {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Viernes Santo", :regions => [:pe]},
            {:function => "easter(year)", :function_arguments => [:year], :name => "Pascua", :regions => [:pe]}],
      1 => [{:mday => 1, :name => "Año Nuevo", :regions => [:pe]},
            {:mday => 6, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de los Reyes Magos", :regions => [:pe]}],
      5 => [{:mday => 1, :name => "Día del Trabajador", :regions => [:pe]},
            {:wday => 0, :week => 2, :type => :informal, :name => "Día de la Madre", :regions => [:pe]}],
      6 => [{:mday => 7, :type => :informal, :name => "Día de la Bandera", :regions => [:pe]},
            {:wday => 0, :week => 3, :type => :informal, :name => "Día del Padre", :regions => [:pe]},
            {:mday => 24, :type => :informal, :name => "Inti Raymi", :regions => [:pe]},
            {:mday => 29, :name => "San Pablo y San Pedro", :regions => [:pe]}],
      7 => [{:mday => 28, :name => "Primer Día de la Independencia", :regions => [:pe]},
            {:mday => 29, :name => "Segundo Día de la Independencia", :regions => [:pe]}],
      8 => [{:mday => 30, :name => "Santa Rosa de Lima", :regions => [:pe]}],
      9 => [{:mday => 24, :type => :informal, :name => "Día de las Fuerzas Armadas", :regions => [:pe]}],
      10 => [{:mday => 8, :name => "Batalla de Angamos", :regions => [:pe]}],
      11 => [{:mday => 1, :name => "Todos los Santos", :regions => [:pe]}],
      12 => [{:mday => 8, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Inmaculada Concepción", :regions => [:pe]},
            {:mday => 25, :name => "Navidad del Señor", :regions => [:pe]}]
      }
    end

    def self.custom_methods
      {
        
      }
    end
  end
end
