holiday_jp-ruby

Japanese holiday.

  • 所有者: holiday-jp/holiday_jp-ruby
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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+

Installation

Add this line to your application's Gemfile:

gem 'holiday_jp'

And then execute:

$ bundle

Or install it yourself as:

$ gem install holiday_jp

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 (c) 2009 Masaki Komagata. See LICENSE for details.

主要指标

概览
名称与所有者holiday-jp/holiday_jp-ruby
主编程语言Ruby
编程语言Ruby (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2009-11-15 11:44:43
推送于2025-07-26 09:57:25
最后一次提交2025-07-26 18:57:25
发布数16
最新版本名称v0.8.1 (发布于 2022-01-25 20:47:17)
第一版名称v0.2.0 (发布于 )
用户参与
星数278
关注者数17
派生数56
提交数133
已启用问题?
问题数5
打开的问题数0
拉请求数37
打开的拉请求数2
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?