101 double inSeconds() const noexcept {
return numSeconds; }
106 double inMinutes() const noexcept;
111 double inHours() const noexcept;
116 double inDays() const noexcept;
121 double inWeeks() const noexcept;
138 String getDescription (const
String& returnValueForZeroTime =
"0") const;
146 String getApproximateDescription() const;
157 RelativeTime operator-= (
double secondsToSubtract) noexcept;
int64 inMilliseconds() const noexcept
static RelativeTime minutes(double numberOfMinutes) noexcept
static RelativeTime milliseconds(int milliseconds) noexcept
double inSeconds() const noexcept
static RelativeTime hours(double numberOfHours) noexcept
static RelativeTime days(double numberOfDays) noexcept
static RelativeTime weeks(double numberOfWeeks) noexcept
static RelativeTime seconds(double seconds) noexcept
RelativeTime(double seconds=0.0) noexcept