Japanese holiday.
Get holidays in Japan.
require 'holiday_jp'
holidays = HolidayJp.between(Date.new(2010, 9, 14), Date.new(2010, 9, 21))
holidays.first.name # 敬老の日
HolidayJp.holiday?(Date.new(2016, 8 ,11)) # trueRuby 1.9.3+
Add this line to your application's Gemfile:
gem 'holiday_jp'And then execute:
$ bundleOr install it yourself as:
$ gem install holiday_jpCopyright (c) 2009 Masaki Komagata. See LICENSE for details.
No open issues yet, or sync has not completed.