|
typedef type::rep | rep |
|
using | period = typename type::period |
|
using | days = std::chrono::duration< uint_fast32_t, std::ratio< 86400 > > |
|
|
bool | load (handle src, bool) |
|
| PYBIND11_TYPE_CASTER (type, _("datetime.timedelta")) |
|
|
static const std::chrono::duration< rep, period > & | get_duration (const std::chrono::duration< rep, period > &src) |
|
template<typename Clock > |
static std::chrono::duration< rep, period > | get_duration (const std::chrono::time_point< Clock, std::chrono::duration< rep, period >> &src) |
|
static handle | cast (const type &src, return_value_policy, handle) |
|
template<typename type>
class duration_caster< type >
Definition at line 33 of file chrono.h.
The documentation for this class was generated from the following file: