Skip to content

A platform for community discussion. Free, open, simple.

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

    def self.holidays_by_month
      {
                1 => [{:mday => 1, :observed => "to_weekday_if_weekend(date)", :observed_arguments => [:date], :name => "New Year's Day", :regions => [:ae]}],
      6 => [{:mday => 17, :year_ranges => { :limited => [2024] },:name => "Eid al-Adha", :regions => [:ae]},
            {:mday => 18, :year_ranges => { :limited => [2024] },:name => "Eid al-Adha (Day 2)", :regions => [:ae]},
            {:mday => 19, :year_ranges => { :limited => [2024] },:name => "Eid al-Adha (Day 3)", :regions => [:ae]}],
      12 => [{:mday => 1, :observed => "to_weekday_if_weekend(date)", :observed_arguments => [:date], :name => "Commemoration Day", :regions => [:ae]},
            {:mday => 2, :observed => "to_weekday_if_weekend(date)", :observed_arguments => [:date], :name => "National Day", :regions => [:ae]},
            {:mday => 3, :observed => "to_weekday_if_weekend(date)", :observed_arguments => [:date], :name => "National Day (Day 2)", :regions => [:ae]}]
      }
    end

    def self.custom_methods
      {
          
      }
    end
  end
end