Sha256: 333a0e80fcb72353485dcdbd9ff6c6533dacff30d8073b693b89b5e546588f48

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

{
  "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": [

      ]
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ree_lib-1.0.3 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.2 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.1 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.0 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json