Expand description
Methods for checked timestamp operations.
Structsยง
- Checked
Timestamp - Invalid
Timestamp Precision Error - The error returned when constructing a
VarCharMaxLengthfrom an invalid value. - Packed
Naive Date Time - An encoded packed variant of
NaiveDateTime. - Proto
Timestamp Precision - Timestamp
Precision - The
max_precisionof aSqlScalarType::TimestamporSqlScalarType::TimestampTz.
Enumsยง
Constantsยง
- HOURS_
PER_ ๐DAY - MAX_
PRECISION - MINUTES_
PER_ ๐HOUR - MONTHS_
PER_ ๐YEAR - NANOSECONDS_
PER_ ๐HOUR - NANOSECONDS_
PER_ ๐MINUTE - NANOSECONDS_
PER_ ๐SECOND - SECONDS_
PER_ ๐MINUTE
Staticsยง
Traitsยง
- Date
Like - Common set of methods for date component.
- Time
Like - Common set of methods for time component.
- Timestamp
Like - A timestamp with both a date and a time component, but not necessarily a timezone component.
Functionsยง
- checked_
add_ with_ leapsecond - Adds a fixed offset to
lhs, returningNoneon overflow. - checked_
offset_ ๐with_ leapsecond - Shifts
lhsbyseconds, keeping a leap second representable. - checked_
sub_ with_ leapsecond - Subtracts a fixed offset from
lhs, returningNoneon overflow.