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.
ProtoFromToTimestampPrecisions
Helper struct for representing from and to precisions each of type Option<TimestampPrecision>.
ProtoOptionalTimestampPrecision
Helper struct for representing Option<TimestampPrecision>.
ProtoTimestampPrecision
TimestampPrecision
The max_precision of a ScalarType::Timestamp or ScalarType::TimestampTz.

Enumsยง

TimestampError

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ยง

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.