|
|
ETL_CONSTEXPR | time_point () ETL_NOEXCEPT |
| | Default constructor.
|
|
ETL_CONSTEXPR14 | time_point (const duration &dur_) ETL_NOEXCEPT |
| | Construct from a duration.
|
|
ETL_CONSTEXPR14 | time_point (const time_point &rhs) ETL_NOEXCEPT |
| | Copy constructor.
|
|
template<typename TDuration2> |
| ETL_CONSTEXPR14 | time_point (const time_point< clock, TDuration2 > &rhs) ETL_NOEXCEPT |
| | Copy construct from another time_point with a different duration type.
|
|
ETL_CONSTEXPR14 time_point & | operator= (const time_point &rhs) ETL_NOEXCEPT |
| | Assignment operator.
|
|
ETL_NODISCARD ETL_CONSTEXPR14 duration | time_since_epoch () const ETL_NOEXCEPT |
| | Returns a duration representing the amount of time between this and the clock's epoch.
|
|
ETL_CONSTEXPR14 time_point & | operator+= (const duration &rhs) ETL_NOEXCEPT |
| | Adds a duration.
|
|
ETL_CONSTEXPR14 time_point & | operator-= (const duration &rhs) ETL_NOEXCEPT |
| | Subtracts a duration.
|
| ETL_NODISCARD ETL_CONSTEXPR14 int | compare (const time_point &other) const ETL_NOEXCEPT |
template<typename TClock, typename TDuration = typename TClock::duration>
class etl::chrono::time_point< TClock, TDuration >
Represents a point in time storing a TDuration indicating the time interval from the start of the TClock's epoch.