Expand description
Safe Rust wrappers for types defined in the Python datetime library
For more details about these types, see the Python documentation
Macrosยง
- ffi_
fun_ ๐with_ autoinit Non- Py_LIMITED_API
Structsยง
- PyDate
- Bindings around
datetime.date. - PyDate
Time - Bindings for
datetime.datetime. - PyDelta
- Bindings for
datetime.timedelta. - PyTime
- Bindings for
datetime.time. - PyTz
Info - Bindings for
datetime.tzinfo.
Traitsยง
- PyDate
Access Non- Py_LIMITED_API - Trait for accessing the date components of a struct containing a date.
- PyDelta
Access Non- Py_LIMITED_API - Trait for accessing the components of a struct containing a timedelta.
- PyTime
Access Non- Py_LIMITED_API - Trait for accessing the time components of a struct containing a time.
- PyTz
Info Access - Trait for accessing the components of a struct containing a tzinfo.
Functionsยง
- PyDate
Time_ ๐ โCheck - Check if
opis aPyDateTimeAPI.DateTimeTypeor subtype. - PyDate_
Check ๐ โ - Check if
opis aPyDateTimeAPI.DateTypeor subtype. - PyDelta_
Check ๐ โ - Check if
opis aPyDateTimeAPI.DetaTypeor subtype. - PyTZ
Info_ ๐ โCheck - Check if
opis aPyDateTimeAPI.TZInfoTypeor subtype. - PyTime_
Check ๐ โ - Check if
opis aPyDateTimeAPI.TimeTypeor subtype. - ensure_
datetime_ ๐api Non- Py_LIMITED_API - expect_
datetime_ ๐api Non- Py_LIMITED_API - opt_
to_ ๐pyobj Non- Py_LIMITED_API