{ "schema_type": "object", "schema_version": "1.0", "name": "end_of_quarter", "path": "packages/ree_datetime/package/ree_datetime/functions/end_of_quarter.rb", "mount_as": "fn", "class": "ReeDatetime::EndOfQuarter", "factory": null, "methods": [ { "doc": "Returns a new date/time at the end of the quarter.\nIf no date_time passed returns date/time at the end of the current quarter.\n\n date_time(optional) => Thu, 3 May 2022 13:00:00\n end_of_quarter(date_time) # => Thu, 30 Jun 2022 23:59:59", "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_quarter", "package_name": "ree_date", "as": "end_of_quarter", "imports": [ ] }, { "target": "now", "package_name": "ree_datetime", "as": "now", "imports": [ ] } ] }