class documentation

Undocumented

Class Method combine Undocumented
Class Method fromtimestamp Undocumented
Class Method now Undocumented
Class Method utcfromtimestamp Undocumented
Class Method utcnow Undocumented
Method __add__ Undocumented
Method __ge__ Undocumented
Method __gt__ Undocumented
Method __le__ Undocumented
Method __lt__ Undocumented
Method __radd__ Undocumented
Method __sub__ Undocumented
Method astimezone Undocumented
Method ctime Undocumented
Method date Undocumented
Method dst Undocumented
Method isocalendar Undocumented
Method isoformat Undocumented
Method replace Undocumented
Method strftime Undocumented
Method time Undocumented
Method timestamp Undocumented
Method timetz Undocumented
Method tzname Undocumented
Method utcoffset Undocumented
Method utctimetuple Undocumented
Class Variable resolution Undocumented
Property day Undocumented
Property fold Undocumented
Property hour Undocumented
Property microsecond Undocumented
Property minute Undocumented
Property month Undocumented
Property second Undocumented
Property tzinfo Undocumented
Property year Undocumented

Undocumented

def fromtimestamp(cls: type[Self], __timestamp: float, tz: _FuncOptionalTZ) -> DateTime[_FuncOptionalTZ]: (source)

Undocumented

def utcfromtimestamp(cls: type[Self], __t: float) -> DateTime[None]: (source)

Undocumented

Undocumented

def __add__(self: Self, __other: _timedelta) -> Self: (source)

Undocumented

def __ge__(self: Self, __other: Self) -> bool: (source)

Undocumented

def __gt__(self: Self, __other: Self) -> bool: (source)

Undocumented

def __le__(self: Self, __other: Self) -> bool: (source)

Undocumented

def __lt__(self: Self, __other: Self) -> bool: (source)

Undocumented

def __radd__(self: Self, __other_t: _timedelta) -> Self: (source)

Undocumented

def __sub__(self: Self, __other: _timedelta) -> Self:
def __sub__(self: DateTime[None], __other: DateTime[None]) -> _timedelta:
def __sub__(self: DateTime[_tzinfo], __other: DateTime[_tzinfo]) -> _timedelta:
(source)

Undocumented

def astimezone(self, tz: None = None) -> DateTime[_timezone]:
def astimezone(self, tz: _FuncTZ) -> DateTime[_FuncTZ]:
(source)

Undocumented

def ctime(self) -> str: (source)

Undocumented

def date(self) -> Date: (source)

Undocumented

def dst(self) -> _timedelta | None: (source)

Undocumented

def isocalendar(self) -> _IsoCalendarDate: (source)

Undocumented

def isoformat(self, sep: str = ..., timespec: str = ...) -> str: (source)

Undocumented

def replace(self: Self, year: int = ..., month: int = ..., day: int = ..., hour: int = ..., minute: int = ..., second: int = ..., microsecond: int = ..., *, tzinfo: _FuncTZ, fold: int = ...) -> DateTime[_FuncTZ]:
def replace(self, year: int, month: int, day: int, hour: int, minute: int, second: int, microsecond: int, tzinfo: _FuncTZ, *, fold: int) -> DateTime[_FuncTZ]:
def replace(self, year: int = ..., month: int = ..., day: int = ..., hour: int = ..., minute: int = ..., second: int = ..., microsecond: int = ..., *, tzinfo: None, fold: int = ...) -> NaiveDateTime:
def replace(self: Self, year: int, month: int, day: int, hour: int, minute: int, second: int, microsecond: int, tzinfo: None, *, fold: int) -> NaiveDateTime:
def replace(self: Self, year: int = ..., month: int = ..., day: int = ..., hour: int = ..., minute: int = ..., second: int = ..., microsecond: int = ..., *, fold: int = ...) -> Self:
(source)

Undocumented

def strftime(self, __format: str) -> str: (source)

Undocumented

def time(self) -> NaiveTime: (source)

Undocumented

def timestamp(self) -> float: (source)

Undocumented

def timetz(self) -> Time[_GMaybeTZDT]: (source)

Undocumented

def tzname(self) -> str | None: (source)

Undocumented

def utcoffset(self) -> _timedelta | None: (source)

Undocumented

def utctimetuple(self) -> struct_time: (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

microsecond: int = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented