![]() |
Scarab
v2.11.1
Project 8 C++ Utility Library
|
#include <chrono.h>

Public Types | |
| typedef type::rep | rep |
| typedef type::period | period |
| typedef std::chrono::duration< uint_fast32_t, std::ratio< 86400 > > | days |
| template<typename T_ > | |
| using | cast_op_type = pybind11::detail::movable_cast_op_type< T_ > |
Public Member Functions | |
| bool | load (handle src, bool) |
| operator type * () | |
| operator type & () | |
| operator type && () && | |
Static Public Member Functions | |
| 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 T_ , enable_if_t< std::is_same< type, remove_cv_t< T_ >>::value, int > = 0> | |
| static handle | cast (T_ *src, return_value_policy policy, handle parent) |
Static Public Attributes | |
| static constexpr auto | name = _("datetime.timedelta") |
Protected Attributes | |
| type | value |
| using cast_op_type = pybind11::detail::movable_cast_op_type<T_> |
| typedef std::chrono::duration<uint_fast32_t, std::ratio<86400> > days |
|
inlinestatic |
|
inlinestatic |
1.8.13