60 static RelativeTime milliseconds (
int milliseconds) noexcept;
65 static RelativeTime milliseconds (int64 milliseconds) noexcept;
75 static RelativeTime minutes (
double numberOfMinutes) noexcept;
80 static RelativeTime hours (
double numberOfHours) noexcept;
90 static RelativeTime weeks (
double numberOfWeeks) noexcept;
96 int64 inMilliseconds()
const noexcept;
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;
double inSeconds() const noexcept