No commit activity in last 3 years
No release in over 3 years
return holidays in month
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

 Project Readme

Holidays in Month

This gem is return holidays(Saturday, Sunday, National) of month in Japan.

Usage

JP::Holiday.new.in_month(2016, 1)
=> ["2016-1-2", "2016-1-3", "2016-1-9", "2016-1-10", "2016-1-16", "2016-1-17",
"2016-1-23", "2016-1-24", "2016-1-30", "2016-1-31", {"2016-01-01"=>"元日", "2016-01-11"=>"成人の日"}]

Installation

Add this line to your application's Gemfile:

gem 'holidays_in_month'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install holidays_in_month

License

The gem is available as open source under the terms of the MIT License.