src/pylib/Lib/datetime

Source   Edit  

Procs

func `==`(delta: timedelta; n: NoneType): bool {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
func `==`(tzinfo: tzinfo; n: NoneType): bool {....raises: [], tags: [], forbids: [].}
Source   Edit  
func ctime(self: datetime): PyStr {....raises: [], tags: [], forbids: [].}
Source   Edit  
func isoformat(self: datetime; sep: StringLike = 'T'; timespec = "auto"): PyStr
Source   Edit  
func str(self: datetime): PyStr {....raises: [ValueError], tags: [], forbids: [].}
Source   Edit  
func str(self: timedelta): PyStr {....raises: [], tags: [], forbids: [].}
Source   Edit  
func strftime(self: datetime; format: PyStr): PyStr {....raises: [ValueError],
    tags: [], forbids: [].}
Source   Edit  
func tzname(dt: datetime): PyStr {....raises: [NotImplementedError], tags: [],
                                   forbids: [].}
Hint: this won't returns None, but may return a empty string
Source   Edit  

Methods

method tzname(tz: timezone; dt: datetime): PyStr {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
method tzname(tz: tzinfo; dt: datetime): PyStr {.base,
    ...raises: [NotImplementedError], tags: [], forbids: [].}
Source   Edit  

Converters

converter noneToTzInfo(_: NoneType): tzinfo {....raises: [], tags: [], forbids: [].}
Source   Edit