Skip to main content

Module timestamp

Module timestamp 

Source
Expand description

Methods for checked timestamp operations.

Structs§

CheckedTimestamp
InvalidTimestampPrecisionError
The error returned when constructing a VarCharMaxLength from an invalid value.
PackedNaiveDateTime
An encoded packed variant of NaiveDateTime.
ProtoTimestampPrecision
TimestampPrecision
The max_precision of a SqlScalarType::Timestamp or SqlScalarType::TimestampTz.

Enums§

TimestampError

Constants§

MAX_PRECISION

Statics§

HIGH_DATE
LOW_DATE

Traits§

DateLike
Common set of methods for date component.
TimeLike
Common set of methods for time component.
TimestampLike
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, returning None on overflow.
checked_sub_with_leapsecond
Subtracts a fixed offset from lhs, returning None on overflow.