date_plus:日期对象的其他方法

时间:2021-05-24 00:17:11
【文件属性】:
文件名称:date_plus:日期对象的其他方法
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-24 00:17:11
Ruby 日期加号 日期对象的其他方法。 安装 将此行添加到您的应用程序的Gemfile中: gem 'date_plus' 然后执行: $ bundle 或将其自己安装为: $ gem install date_plus 用法 Date_plus将方法直接添加到Date对象的实例: date_object = Date . new ( 2014 , 7 , 24 ) # => # 工作日和月份名称的方法 date_object . weekday_name => "Thursday" date_object . month_name => "July" 查找未来的特定日期 date_object . next_instance_of ( :month => 12 , :day =
【文件预览】:
date_plus-master
----Rakefile(28B)
----date_plus.gemspec(940B)
----Gemfile(94B)
----.gitignore(154B)
----lib()
--------date_plus.rb(4KB)
--------date_plus()
----README.md(2KB)
----LICENSE.txt(1KB)

网友评论