Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XTimeUtils.h File Reference
#include <chrono>
#include <string>
#include <thread>
#include "PlatformDefs.h"

Classes

struct  KODI::TIME::SystemTime
 
struct  KODI::TIME::TimeZoneInformation
 
struct  KODI::TIME::FileTime
 

Namespaces

namespace  KODI
 
namespace  KODI::TIME
 

Functions

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

Variables

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