Sha256: ba29e8070cef49982adb22f67f48f05bce4403cc2d7016b48c16494ed16a7f0b

Contents?: true

Size: 1.17 KB

Versions: 71

Compression:

Stored size: 1.17 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.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",
          "arg_type": "opt",
          "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

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.43 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.42 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.41 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.40 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.39 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.38 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.37 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.36 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.35 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.34 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json
ree_lib-1.0.33 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json