Module dpq2.conv.time

PostgreSQL time types binary format.

Functions

NameDescription
binaryValueAs(v) Returns value timestamp with time zone as SysTime
binaryValueAs(v) Returns value data as native Date
binaryValueAs(v) Returns value time without time zone as native TimeOfDay
binaryValueAs(v) Returns value timestamp without time zone as TimeStamp
binaryValueAs(v) Returns value timestamp with time zone as TimeStampUTC
binaryValueAs(v) Returns value timestamp without time zone as DateTime (it drops the fracSecs from the database value)
binaryValueAs(v) Returns value time with time zone as TimeOfDayWithTZ
binaryValueAs(v) Returns value time with time zone as Interval
toPgDate(d)

Structs

NameDescription
Interval
PgDate
TimeOfDayWithTZ
TTimeStamp Structure to represent PostgreSQL Timestamp with/without time zone

Enums

NameDescription
InfinityState

Aliases

NameTypeDescription
TimeStamp TTimeStamp!(false) Unknown TZ timestamp
TimeStampUTC TTimeStamp!(true) Assumed that this is UTC timestamp