Sha256: afe6c18cc3331a3613f07917817f91f456eb30f2b43e303b0bd950d84b9a9423
Contents?: true
Size: 1.1 KB
Versions: 71
Compression:
Stored size: 1.1 KB
Contents
{ "schema_type": "object", "schema_version": "1.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", "arg_type": "opt", "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
71 entries across 71 versions & 1 rubygems