15 #if !defined(TARGET_WINDOWS) 16 #include "PlatformDefs.h" 20 #ifndef WIN32_LEAN_AND_MEAN 21 #define WIN32_LEAN_AND_MEAN 34 unsigned short dayOfWeek;
37 unsigned short minute;
38 unsigned short second;
39 unsigned short milliseconds;
45 std::string standardName;
48 std::string daylightName;
53 constexpr
int KODI_TIME_ZONE_ID_INVALID{-1};
54 constexpr
int KODI_TIME_ZONE_ID_UNKNOWN{0};
55 constexpr
int KODI_TIME_ZONE_ID_STANDARD{1};
56 constexpr
int KODI_TIME_ZONE_ID_DAYLIGHT{2};
60 unsigned int lowDateTime;
61 unsigned int highDateTime;
67 template<
typename Rep,
typename Period>
68 void Sleep(std::chrono::duration<Rep, Period> duration)
70 if (duration == std::chrono::duration<Rep, Period>::zero())
72 std::this_thread::yield();
76 std::this_thread::sleep_for(duration);
79 int FileTimeToLocalFileTime(
const FileTime* fileTime,
FileTime* localFileTime);
83 int LocalFileTimeToFileTime(
const FileTime* LocalFileTime,
FileTime* fileTime);
85 int FileTimeToTimeT(
const FileTime* localFileTime, time_t* pTimeT);
86 int TimeTToFileTime(time_t timeT,
FileTime* localFileTime);
Definition: XTimeUtils.h:30
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: XTimeUtils.h:58