Class TimestampRange (2.11.0)

TimestampRange(start=None, end=None)

Range of time with inclusive lower and exclusive upper bounds.

Parameters

NameDescription
start `datetime.datetime`

(Optional) The (inclusive) lower bound of the timestamp range. If omitted, defaults to Unix epoch.

end `datetime.datetime`

(Optional) The (exclusive) upper bound of the timestamp range. If omitted, no upper bound is used.

Inheritance

builtins.object > TimestampRange

Methods

to_pb

to_pb()

Converts the TimestampRange to a protobuf.

Returns
TypeDescription
`.data_v2_pb2.TimestampRange`The converted current object.