herald
2.0.0
|
Public Member Functions | |
TimeInterval (long seconds) | |
TimeInterval (const Date &date) | |
TimeInterval (const Date &from, const Date &to) | |
TimeInterval (const TimeInterval &other) | |
TimeInterval & | operator= (const TimeInterval &other) noexcept |
TimeInterval | operator* (const TimeInterval &other) noexcept |
TimeInterval | operator+ (const TimeInterval &other) noexcept |
TimeInterval & | operator+= (const TimeInterval &other) noexcept |
TimeInterval | operator- (const TimeInterval &other) noexcept |
TimeInterval & | operator-= (const TimeInterval &other) noexcept |
TimeInterval | operator* (double multiplier) noexcept |
TimeInterval & | operator*= (double multiplier) noexcept |
TimeInterval | operator/ (double divisor) noexcept |
TimeInterval & | operator/= (double divisor) noexcept |
bool | operator> (const TimeInterval &other) const noexcept |
bool | operator>= (const TimeInterval &other) const noexcept |
bool | operator< (const TimeInterval &other) const noexcept |
bool | operator<= (const TimeInterval &other) const noexcept |
bool | operator== (const TimeInterval &other) const noexcept |
bool | operator!= (const TimeInterval &other) const noexcept |
long | millis () const noexcept |
long | seconds () const noexcept |
operator std::string () const noexcept | |
operator long () const noexcept | |
Static Public Member Functions | |
static TimeInterval | minutes (long minutes) |
static TimeInterval | seconds (long seconds) |
static TimeInterval | never () |
static TimeInterval | zero () |
|
noexcept |
If divisor is zero, makes no modification.
|
noexcept |
If divisor is zero, makes no modification.