struct

Rayo::JSON::Timestamp

Inherits Struct < Value < Object

PostgreSQL ISO text or binary microseconds since 2000-01-01; normalized to UTC.

Constructors

binary(value : Bytes) : self
Source
binary(microseconds : Int64) : self
Source
new(value : Bytes)
Source
new(time : Time)
Source

Instance methods

to_json(writer : Writer) : Nil
Source