nitypes.time.typing

Type aliases and type variables for time types.

Attributes

AnyDateTime

Type alias for any datetime class.

TDateTime

Type variable with a bound of AnyDateTime.

AnyTimeDelta

Type alias for any timedelta class.

TTimeDelta

Type variable with a bound of AnyTimeDelta.

Module Contents

type nitypes.time.typing.AnyDateTime = bt.DateTime | dt.datetime | ht.datetime

Type alias for any datetime class.

This type alias is a union of the following types:

nitypes.time.typing.TDateTime

Type variable with a bound of AnyDateTime.

type nitypes.time.typing.AnyTimeDelta = bt.TimeDelta | dt.timedelta | ht.timedelta

Type alias for any timedelta class.

This type alias is a union of the following types:

nitypes.time.typing.TTimeDelta

Type variable with a bound of AnyTimeDelta.