Sha256: 928de76e051d66302ccce789be38165702ad9a32a5d641af9a7ea7b721ac1b36
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
{ "schema_type": "object", "ree_version": "1.0.1", "name": "end_of_year", "path": "packages/ree_datetime/package/ree_datetime/functions/end_of_year.rb", "mount_as": "fn", "class": "ReeDatetime::EndOfYear", "factory": null, "methods": [ { "doc": "Returns a new date/time at the start of the year.\nIf no date_time passed returns date/time at the start of the current year.\n\n date_time(optional) => Mon, 30 Jun 2022 13:00:00\n end_of_year(date_time) # => Sat, 31 Dec 2022 23:59:59.999999", "throws": [ ], "return": "DateTime", "args": [ { "arg": "date_time", "type": "Nilor[DateTime]" } ] } ], "links": [ { "target": "end_of_day", "package_name": "ree_datetime", "as": "end_of_day", "imports": [ ] }, { "target": "end_of_year", "package_name": "ree_date", "as": "end_of_year", "imports": [ ] }, { "target": "now", "package_name": "ree_datetime", "as": "now", "imports": [ ] } ] }
Version data entries
4 entries across 4 versions & 1 rubygems