Japanese holiday.
Ruby
Latest commit e67d1cd Nov 14, 2016 @komagata komagata committed on GitHub Merge pull request #27 from kunitoo/replace-travis-status-images
Replace travis status images from daed link to new available link
Permalink
Failed to load latest commit information.
lib bump up version Nov 14, 2016
test Fix The Emperor's Birthday of 2017 Nov 12, 2016
.document
.gemtest Changed a packaging tool to bundler from jeweler. Nov 14, 2011
.gitignore
.travis.yml
CHANGELOG.md
Gemfile Holidays date convert from ruby to yaml Jan 2, 2015
LICENSE Initial commit to holiday_jp. Nov 15, 2009
README.md Replace travis status images from daed link to new available link Nov 12, 2016
Rakefile Fixes some points that rubocop said Sep 9, 2016
benchmark.rb Fixes some points that rubocop said Sep 9, 2016
holiday_jp.gemspec Holidays date convert from ruby to yaml Jan 2, 2015
holidays.yml Fix The Emperor's Birthday of 2017 Nov 12, 2016

README.md

holiday_jp Build Status

Get holidays in Japan.

USAGE

holidays = HolidayJp.between(Date.new(2010, 9, 14), Date.new(2010, 9, 21))
holidays.first.name # 敬老の日
HolidayJp.holiday?(Date.new(2016, 8 ,11)) # true

Supported Ruby Version

Ruby 1.9.3+

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2009 Masaki Komagata. See LICENSE for details.