Sha256: e33c5e4f1409b6ce865143b721c6116977dd5f640958646fc0543d89335154ec

Contents?: true

Size: 1.42 KB

Versions: 28

Compression:

Stored size: 1.42 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.0",
  "name": "next_occurring",
  "path": "packages/ree_datetime/package/ree_datetime/functions/next_occurring.rb",
  "mount_as": "fn",
  "class": "ReeDatetime::NextOccurring",
  "factory": null,
  "methods": [
    {
      "doc": "# Returns a new date/time representing the next occurrence of the specified day of week.\n# \n#   now                              # => Tue, 24 May 2022 13:15:20\n#   date_time (optional)                  # => Thu, 14 Dec 2017 13:15:20\n#   next_occurring(date_time, :monday)    # => Mon, 18 Dec 2017 13:15:20\n#   next_occurring(date_time, :thursday)  # => Thu, 21 Dec 2017 13:15:20\n#   next_occurring(:thursday)        # => Thu, 2  Jun 2022 13:15:20",
      "throws": [

      ],
      "return": "DateTime",
      "args": [
        {
          "arg": "date_time",
          "type": "Nilor[DateTime]"
        },
        {
          "arg": "week_day",
          "type": "Or[monday, tuesday, wednesday, thursday, friday, saturday, sunday]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "change",
      "package_name": "ree_datetime",
      "as": "change",
      "imports": [

      ]
    },
    {
      "target": "next_occurring",
      "package_name": "ree_date",
      "as": "next_occurring",
      "imports": [

      ]
    },
    {
      "target": "now",
      "package_name": "ree_datetime",
      "as": "now",
      "imports": [

      ]
    }
  ]
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ree_lib-1.0.32 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.31 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.30 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.29 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.28 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.27 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.26 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.24 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.23 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.22 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.21 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.20 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.19 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.18 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.17 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.16 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.15 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.14 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.13 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json
ree_lib-1.0.12 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json