29 #ifndef JUCE_TIME_H_INCLUDED
30 #define JUCE_TIME_H_INCLUDED
118 int getYear()
const noexcept;
125 int getMonth()
const noexcept;
133 String getMonthName (
bool threeLetterVersion)
const;
138 int getDayOfMonth() const noexcept;
143 int getDayOfWeek() const noexcept;
148 int getDayOfYear() const noexcept;
155 String getWeekdayName (
bool threeLetterVersion) const;
163 int getHours() const noexcept;
171 bool isAfternoon() const noexcept;
180 int getHoursInAmPmFormat() const noexcept;
183 int getMinutes() const noexcept;
186 int getSeconds() const noexcept;
195 int getMilliseconds() const noexcept;
198 bool isDaylightSavingTime() const noexcept;
201 String getTimeZone() const noexcept;
216 String toString (
bool includeDate,
218 bool includeSeconds =
true,
219 bool use24HourClock =
false) const noexcept;
266 bool setSystemTimeToThisTime() const;
275 static
String getWeekdayName (
int dayNumber,
bool threeLetterVersion);
283 static
String getMonthName (
int monthNumber,
bool threeLetterVersion);
295 static
int64 currentTimeMillis() noexcept;
309 static
uint32 getMillisecondCounter() noexcept;
318 static
double getMillisecondCounterHiRes() noexcept;
324 static
void waitForMillisecondCounter (
uint32 targetTime) noexcept;
335 static
uint32 getApproximateMillisecondCounter() noexcept;
348 static
int64 getHighResolutionTicks() noexcept;
355 static
int64 getHighResolutionTicksPerSecond() noexcept;
362 static
double highResolutionTicksToSeconds (
int64 ticks) noexcept;
369 static
int64 secondsToHighResolutionTicks (
double seconds) noexcept;
372 static
Time getCompilationDate();
376 int64 millisSinceEpoch;
404 #endif // JUCE_TIME_H_INCLUDED
#define true
Definition: ordinals.h:82
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_Time.h:41
Definition: juce_RelativeTime.h:41
#define false
Definition: ordinals.h:83
Definition: juce_String.h:43
#define JUCE_API
Definition: juce_StandardHeader.h:139
unsigned int uint32
Definition: juce_MathsFunctions.h:51
long long int64
Definition: juce_MathsFunctions.h:60
int64 toMilliseconds() const noexcept
Definition: juce_Time.h:112