Sha256: fbedae62e626e7f0e6a34c10182d79a1268cd189b5e0925bf5e9c49a4be095d4

Contents?: true

Size: 1.49 KB

Versions: 71

Compression:

Stored size: 1.49 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "prev_occurring",
  "path": "packages/ree_date/package/ree_date/functions/prev_occurring.rb",
  "mount_as": "fn",
  "class": "ReeDate::PrevOccurring",
  "factory": null,
  "methods": [
    {
      "doc": "Returns a new date representing the previous occurrence of the specified day of week.\n\n  today                            # => Tue, 24 May 2022\n  date (optional)                  # => Wed, 6  Apr 2022\n  prev_occurring(date, :monday)    # => Mon, 28 Mar 2022\n  prev_occurring(date, :thursday)  # => Thu, 31 Mar 2022\n  prev_occurring(:thursday)        # => Thu, 19 May 2022",
      "throws": [

      ],
      "return": "Date",
      "args": [
        {
          "arg": "date",
          "arg_type": "opt",
          "type": "Nilor[Date]"
        },
        {
          "arg": "week_day",
          "arg_type": "req",
          "type": "Or[monday, tuesday, wednesday, thursday, friday, saturday, sunday]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "advance",
      "package_name": "ree_date",
      "as": "advance",
      "imports": [

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

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

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

      ]
    }
  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.103 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.102 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.101 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.100 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.99 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.98 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.97 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.96 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.95 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.94 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.93 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.92 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.91 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.90 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.89 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.88 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.87 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json