Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::TIME Namespace Reference

Classes

struct  FileTime
 
struct  SystemTime
 
struct  TimeZoneInformation
 

Functions

uint32_t GetTimeZoneInformation (TimeZoneInformation *timeZoneInformation)
 
void GetLocalTime (SystemTime *systemTime)
 
int FileTimeToLocalFileTime (const FileTime *fileTime, FileTime *localFileTime)
 
int SystemTimeToFileTime (const SystemTime *systemTime, FileTime *fileTime)
 
long CompareFileTime (const FileTime *fileTime1, const FileTime *fileTime2)
 
int FileTimeToSystemTime (const FileTime *fileTime, SystemTime *systemTime)
 
int LocalFileTimeToFileTime (const FileTime *localFileTime, FileTime *fileTime)
 
int FileTimeToTimeT (const FileTime *localFileTime, time_t *pTimeT)
 
int TimeTToFileTime (time_t timeT, FileTime *localFileTime)
 
template<typename Rep , typename Period >
void Sleep (std::chrono::duration< Rep, Period > duration)
 

Variables

constexpr int KODI_TIME_ZONE_ID_INVALID {-1}
 
constexpr int KODI_TIME_ZONE_ID_UNKNOWN {0}
 
constexpr int KODI_TIME_ZONE_ID_STANDARD {1}
 
constexpr int KODI_TIME_ZONE_ID_DAYLIGHT {2}
 

Function Documentation

◆ CompareFileTime()

long KODI::TIME::CompareFileTime ( const FileTime * fileTime1,
const FileTime * fileTime2 )

◆ FileTimeToLocalFileTime()

int KODI::TIME::FileTimeToLocalFileTime ( const FileTime * fileTime,
FileTime * localFileTime )

◆ FileTimeToSystemTime()

int KODI::TIME::FileTimeToSystemTime ( const FileTime * fileTime,
SystemTime * systemTime )

◆ FileTimeToTimeT()

int KODI::TIME::FileTimeToTimeT ( const FileTime * localFileTime,
time_t * pTimeT )

◆ GetLocalTime()

void KODI::TIME::GetLocalTime ( SystemTime * systemTime)

◆ GetTimeZoneInformation()

uint32_t KODI::TIME::GetTimeZoneInformation ( TimeZoneInformation * timeZoneInformation)

◆ LocalFileTimeToFileTime()

int KODI::TIME::LocalFileTimeToFileTime ( const FileTime * localFileTime,
FileTime * fileTime )

◆ Sleep()

template<typename Rep , typename Period >
void KODI::TIME::Sleep ( std::chrono::duration< Rep, Period > duration)

◆ SystemTimeToFileTime()

int KODI::TIME::SystemTimeToFileTime ( const SystemTime * systemTime,
FileTime * fileTime )

◆ TimeTToFileTime()

int KODI::TIME::TimeTToFileTime ( time_t timeT,
FileTime * localFileTime )

Variable Documentation

◆ KODI_TIME_ZONE_ID_DAYLIGHT

int KODI::TIME::KODI_TIME_ZONE_ID_DAYLIGHT {2}
constexpr

◆ KODI_TIME_ZONE_ID_INVALID

int KODI::TIME::KODI_TIME_ZONE_ID_INVALID {-1}
constexpr

◆ KODI_TIME_ZONE_ID_STANDARD

int KODI::TIME::KODI_TIME_ZONE_ID_STANDARD {1}
constexpr

◆ KODI_TIME_ZONE_ID_UNKNOWN

int KODI::TIME::KODI_TIME_ZONE_ID_UNKNOWN {0}
constexpr