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

    def self.holidays_by_month
      {
              0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Good Friday", :regions => [:nz2_calendar_dates]},
            {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:nz2_calendar_dates]}],
      1 => [{:mday => 1, :name => "New Year's Day", :regions => [:nz2_calendar_dates]},
            {:mday => 2, :name => "Day after New Year's Day", :regions => [:nz2_calendar_dates]}],
      2 => [{:mday => 6, :name => "Waitangi Day", :regions => [:nz2_calendar_dates]}],
      4 => [{:mday => 25, :name => "ANZAC Day", :regions => [:nz2_calendar_dates]}],
      6 => [{:wday => 1, :week => 1, :name => "Queen's Birthday", :regions => [:nz2_calendar_dates]}],
      10 => [{:wday => 1, :week => 4, :name => "Labour Day", :regions => [:nz2_calendar_dates]}],
      12 => [{:mday => 25, :name => "Christmas Day", :regions => [:nz2_calendar_dates]},
            {:mday => 26, :name => "Boxing Day", :regions => [:nz2_calendar_dates]}]
      }
    end

    def self.custom_methods
      {
        
      }
    end
  end
end
