Skip to content

PgTimeValidator

[Source]

Validates that an I64 microseconds value is in the valid range for a PostgreSQL time value: [0, 86,400,000,000).

primitive val PgTimeValidator is
  Validator[I64 val] val

Implements


Constructors

create

[Source]

new val create()
: PgTimeValidator val^

Returns


Public Functions

apply

[Source]

fun box apply(
  us: I64 val)
: ValidationResult

Parameters

Returns


eq

[Source]

fun box eq(
  that: PgTimeValidator val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: PgTimeValidator val)
: Bool val

Parameters

Returns