Skip to content

PgDate

[Source]

A PostgreSQL date value. Stores days since the PostgreSQL epoch (2000-01-01). Special values I32.max_value() and I32.min_value() represent positive and negative infinity respectively.

class val PgDate is
  Equatable[PgDate val] ref

Implements


Constructors

create

[Source]

new val create(
  days': I32 val)
: PgDate val^

Parameters

  • days': I32 val

Returns


Public fields

let days: I32 val

[Source]


Public Functions

eq

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns


string

[Source]

fun box string()
: String iso^

Returns