64 static RelativeTime milliseconds (
int milliseconds)
noexcept;
69 static RelativeTime milliseconds (int64 milliseconds)
noexcept;
79 static RelativeTime minutes (
double numberOfMinutes)
noexcept;
84 static RelativeTime hours (
double numberOfHours)
noexcept;
94 static RelativeTime weeks (
double numberOfWeeks)
noexcept;
100 int64 inMilliseconds()
const noexcept;
105 double inSeconds() const noexcept {
return numSeconds; }
110 double inMinutes() const noexcept;
115 double inHours() const noexcept;
120 double inDays() const noexcept;
125 double inWeeks() const noexcept;
142 String getDescription (const
String& returnValueForZeroTime = "0") const;
154 RelativeTime operator-= (
double secondsToSubtract) noexcept;
A relative measure of time.
double inSeconds() const noexcept
Returns the number of seconds this time represents.
#define JUCE_API
This macro is added to all JUCE public class declarations.