module Holidays::TH
def self.custom_methods
def self.custom_methods { } end
def self.defined_regions
All the definitions are available at https://github.com/holidays/holidays
Definitions loaded: definitions/th.yaml
This file is generated by the Ruby Holidays gem.
def self.defined_regions [:th] end
def self.holidays_by_month
def self.holidays_by_month { 1 => [{:mday => 1, :name => "วันขึ้นปีใหม่", :regions => [:th]}], 4 => [{:mday => 6, :name => "วันจักรี", :regions => [:th]}, {:mday => 13, :name => "วันสงกรานต์", :regions => [:th]}, {:mday => 14, :name => "วันสงกรานต์", :regions => [:th]}, {:mday => 15, :name => "วันสงกรานต์", :regions => [:th]}], 7 => [{:mday => 28, :name => "วันเฉลิมพระชนมพรรษาสมเด็จพระเจ้าอยู่หัวมหาวชิราลงกรณ บดินทรเทพยวรางกูร", :regions => [:th]}], 8 => [{:mday => 12, :name => "วันเฉลิมพระชนมพรรษาสมเด็จพระนางเจ้าสิริกิติ์ พระบรมราชินีนาถในรัชกาลที่ ๙", :regions => [:th]}], 10 => [{:mday => 13, :name => "วันคล้ายวันสวรรคตพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร", :regions => [:th]}, {:mday => 23, :name => "วันปิยมหาราช", :regions => [:th]}], 12 => [{:mday => 5, :name => "วันคล้ายวันเฉลิมพระชนมพรรษาพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร", :regions => [:th]}, {:mday => 10, :name => "วันรัฐธรรมนูญ", :regions => [:th]}, {:mday => 31, :name => "วันสิ้นปี", :regions => [:th]}] } end