Sha256: e33c5e4f1409b6ce865143b721c6116977dd5f640958646fc0543d89335154ec
Contents?: true
Size: 1.42 KB
Versions: 28
Compression:
Stored size: 1.42 KB
Contents
{ "schema_type": "object", "schema_version": "1.0", "name": "next_occurring", "path": "packages/ree_datetime/package/ree_datetime/functions/next_occurring.rb", "mount_as": "fn", "class": "ReeDatetime::NextOccurring", "factory": null, "methods": [ { "doc": "# Returns a new date/time representing the next occurrence of the specified day of week.\n# \n# now # => Tue, 24 May 2022 13:15:20\n# date_time (optional) # => Thu, 14 Dec 2017 13:15:20\n# next_occurring(date_time, :monday) # => Mon, 18 Dec 2017 13:15:20\n# next_occurring(date_time, :thursday) # => Thu, 21 Dec 2017 13:15:20\n# next_occurring(:thursday) # => Thu, 2 Jun 2022 13:15:20", "throws": [ ], "return": "DateTime", "args": [ { "arg": "date_time", "type": "Nilor[DateTime]" }, { "arg": "week_day", "type": "Or[monday, tuesday, wednesday, thursday, friday, saturday, sunday]" } ] } ], "links": [ { "target": "change", "package_name": "ree_datetime", "as": "change", "imports": [ ] }, { "target": "next_occurring", "package_name": "ree_date", "as": "next_occurring", "imports": [ ] }, { "target": "now", "package_name": "ree_datetime", "as": "now", "imports": [ ] } ] }
Version data entries
28 entries across 28 versions & 1 rubygems