Sha256: 45661b33e8d1e422139fd15bd8bcbce6da5018456e07ae7fc35ba090af0b82a8

Contents?: true

Size: 1.15 KB

Versions: 71

Compression:

Stored size: 1.15 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "years_diff",
  "path": "packages/ree_datetime/package/ree_datetime/functions/years_diff.rb",
  "mount_as": "fn",
  "class": "ReeDatetime::YearsDiff",
  "factory": null,
  "methods": [
    {
      "doc": "Returns time difference in years",
      "throws": [
        "ArgumentError"
      ],
      "return": "Integer",
      "args": [
        {
          "arg": "start_time",
          "arg_type": "req",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "end_time",
          "arg_type": "req",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "round_helper",
      "package_name": "ree_number",
      "as": "round_helper",
      "imports": [
        "ROUND_MODES"
      ]
    },
    {
      "target": "slice",
      "package_name": "ree_hash",
      "as": "slice",
      "imports": [

      ]
    }
  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.83 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.82 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.81 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.80 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.79 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.78 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.77 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.76 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.75 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.74 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.73 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.72 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.71 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.70 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.69 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.68 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.67 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.66 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.65 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json
ree_lib-1.0.64 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json