|
|
| ETL_STATIC_ASSERT ((etl::is_specialization< TDuration, etl::chrono::duration >::value), "TDuration is not a etl::chrono::duration type") |
|
ETL_CONSTEXPR | hh_mm_ss () ETL_NOEXCEPT |
| | Default constructor.
|
|
ETL_CONSTEXPR14 | hh_mm_ss (TDuration d_) ETL_NOEXCEPT |
| | Construct from duration.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 bool | is_negative () const ETL_NOEXCEPT |
| | Checks for negative duration.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 etl::chrono::hours | hours () const ETL_NOEXCEPT |
| | Returns the hours.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 etl::chrono::minutes | minutes () const ETL_NOEXCEPT |
| | Returns the minutes.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 etl::chrono::seconds | seconds () const ETL_NOEXCEPT |
| | Returns the seconds.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 precision | subseconds () const ETL_NOEXCEPT |
| | Returns the subseconds.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 | operator precision () const ETL_NOEXCEPT |
| | Returns the duration.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 precision | to_duration () const ETL_NOEXCEPT |
| | Returns the duration.
|
template<typename TDuration>
class etl::chrono::hh_mm_ss< TDuration >
hh_mm_ss