unitelabs.sdk.datetime.date

Functions

  • _cmp(x, y) -> None

    Parameters

    • Name
      x
      Type
      Default
      Description

    • Name
      y
      Type
      Default
      Description

  • _check_tzinfo_arg(tz) -> None

    Parameters

    • Name
      tz
      Type
      Default
      Description

Classes

  • date

    Date with time zone.

    Bases
    datetime.date

    Methods

    • __new__(
        cls,
        year,
        month,
        day,
        tzinfo : datetime.tzinfo[]
      ) -> None

      Constructor. Arguments: year, month, day, tzinfo (required, base 1)

      Parameters

      • Name
        cls
        Type
        Default
        Description

      • Name
        year
        Type
        Default
        = 0
        Description

      • Name
        month
        Type
        Default
        = 0
        Description

      • Name
        day
        Type
        Default
        = 0
        Description

      • Name
        tzinfo
        Type
        datetime.tzinfo[]
        Default
        = None
        Description

    • __eq__(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    • __ne__(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    • __le__(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    • __lt__(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    • __ge__(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    • __gt__(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    • _cmp(self, other) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        other
        Type
        Default
        Description

    Attributes

    • Name
      __slots__
      Type
      Value

      = '_tzinfo'

      Description

    • Name
      tzinfo
      Type
      datetime.tzinfo[]
      Value

      = None

      Description

      timezone info object

Copyright © 2024