Struct TTimeStamp

Structure to represent PostgreSQL Timestamp with/without time zone

struct TTimeStamp(bool isWithTZ) ;

Constructors

NameDescription
this (dt, fractionalSeconds)

Fields

NameTypeDescription
date PgDateDate and time of TimeStamp
fracSec Durationfractional seconds, 1 microsecond resolution
time TimeOfDay

Methods

NameDescription
dateTime ()
earlier () '-infinity', earlier than all other time stamps
infinity () Returns infinity state
isEarlier () '-infinity'
isLater () 'infinity'
later () 'infinity', later than all other time stamps
max () Returns the TimeStamp farthest in the future which is representable by TimeStamp.
min () Returns the TimeStamp farthest in the past which is representable by TimeStamp.
throwIfNotFitsToDate ()
toString ()