|
| template<class Rep, class Period> |
| constexpr | Duration (std::chrono::nanoseconds value) noexcept |
| template<class Rep, class Period> |
| constexpr | Duration (std::chrono::duration< Rep, Period > value) noexcept |
| | ~Duration () noexcept=default |
| constexpr ValueType | getNanoseconds () const noexcept |
| | Number of nanoseconds.
|
| constexpr std::chrono::nanoseconds | toChrono () const noexcept |
| | Conversion to std::chrono representation.
|
| constexpr float64_t | toSeconds () const noexcept |
| | Number of seconds.
|
| constexpr std::enable_if_t< HasOperator< std::int64_t >::eq, bool > | operator== (const Duration &other) const |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::ne, bool > | operator!= (const Duration &other) const |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::lt, bool > | operator< (const Duration &other) const |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::le, bool > | operator<= (const Duration &other) const |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::gt, bool > | operator> (const Duration &other) const |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::ge, bool > | operator>= (const Duration &other) const |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::inc, Duration & > | operator++ () |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::dec, Duration & > | operator-- () |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::inc, Duration & > | operator+= (const Duration &other) noexcept |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::dec, Duration > | operator+ (const Duration &other) const noexcept |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::dec, Duration & > | operator-= (const Duration &other) noexcept |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::dec, Duration > | operator- (const Duration &other) const noexcept |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::mul, Duration > | operator*= (const Duration &other) noexcept |
| constexpr std::enable_if_t< HasOperator< std::int64_t >::mul, Duration > | operator* (const Duration &other) const noexcept |
| constexpr std::int64_t | get () const noexcept |
| constexpr void | set (const std::int64_t &value) noexcept |