Sha256: e6e86783db7f0e17940eb6a94109ea63859e36ae8fd07f611ff9d0f557abbc9f

Contents?: true

Size: 970 Bytes

Versions: 28

Compression:

Stored size: 970 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.0",
  "name": "seconds_diff",
  "path": "packages/ree_datetime/package/ree_datetime/functions/seconds_diff.rb",
  "mount_as": "fn",
  "class": "ReeDatetime::SecondsDiff",
  "factory": null,
  "methods": [
    {
      "doc": "Returns time difference in seconds",
      "throws": [
        "ArgumentError"
      ],
      "return": "Integer",
      "args": [
        {
          "arg": "start_time",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "end_time",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "opts",
          "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"
      ]
    }
  ]
}

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/seconds_diff.schema.json
ree_lib-1.0.31 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.30 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.29 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.28 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.27 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.26 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.24 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.23 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.22 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.21 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.20 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.19 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.18 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.17 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.16 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.15 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.14 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.13 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json
ree_lib-1.0.12 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json