{ "schema_type": "object", "ree_version": "1.0.1", "name": "beginning_of_quarter", "path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_quarter.rb", "mount_as": "fn", "class": "ReeDatetime::BeginningOfQuarter", "factory": null, "methods": [ { "doc": "Returns a new date/time at the start of the quarter.\nIf no date_timetime passed returns date/time at the start of the current quarter.\n\n date_time(optional) => Thu, 3 May 2022 13:00:00\n beginning_of_quarter(date_time) # => Fri, 01 Apr 2022 00:00:00", "throws": [ ], "return": "DateTime", "args": [ { "arg": "date_time", "type": "Nilor[DateTime]" } ] } ], "links": [ { "target": "beginning_of_day", "package_name": "ree_datetime", "as": "beginning_of_day", "imports": [ ] }, { "target": "beginning_of_quarter", "package_name": "ree_date", "as": "beginning_of_quarter", "imports": [ ] }, { "target": "now", "package_name": "ree_datetime", "as": "now", "imports": [ ] } ] }