class documentation

A protocol that describes datetime.date.

(This is really just a copy of the stub for datetime.date but is necessary to make it a Protocol.)

Class Method fromisocalendar Undocumented
Class Method fromisoformat Undocumented
Class Method fromordinal Undocumented
Class Method fromtimestamp Undocumented
Class Method today Undocumented
Method __add__ Undocumented
Method __format__ Undocumented
Method __ge__ Undocumented
Method __gt__ Undocumented
Method __hash__ Undocumented
Method __le__ Undocumented
Method __lt__ Undocumented
Method __radd__ Undocumented
Method __sub__ Undocumented
Method ctime Undocumented
Method isocalendar Undocumented
Method isoformat Undocumented
Method isoweekday Undocumented
Method replace Undocumented
Method strftime Undocumented
Method timetuple Undocumented
Method toordinal Undocumented
Method weekday Undocumented
Class Variable max Undocumented
Class Variable min Undocumented
Class Variable resolution Undocumented
Property day Undocumented
Property month Undocumented
Property year Undocumented
Class Method _subclass_check_hook Undocumented
def fromisocalendar(cls, year: int, week: int, day: int) -> Date: (source)

Undocumented

def fromisoformat(cls, __date_string: str) -> Date: (source)

Undocumented

def fromordinal(cls, __n: int) -> Date: (source)

Undocumented

def fromtimestamp(cls, __timestamp: float) -> Date: (source)

Undocumented

def today(cls) -> Date: (source)

Undocumented

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

Undocumented

def __format__(self, __fmt: str) -> str: (source)

Undocumented

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

Undocumented

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

Undocumented

def __hash__(self) -> int: (source)

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

def isoweekday(self) -> int: (source)

Undocumented

def replace(self: Self, year: int = ..., month: int = ..., day: int = ...) -> Self: (source)

Undocumented

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

Undocumented

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

Undocumented

def toordinal(self) -> int: (source)

Undocumented

def weekday(self) -> int: (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

def _subclass_check_hook(cls, instance: object) -> bool: (source)

Undocumented