kodi
Static Public Member Functions | List of all members
CTimeUtils Class Reference

Static Public Member Functions

static void UpdateFrameTime (bool flip)
 Update the time frame. More...
 
static unsigned int GetFrameTime ()
 Returns the frame time in MS. More...
 
static CDateTime GetLocalTime (time_t time)
 
static std::string WithoutSeconds (const std::string &hhmmss)
 Returns a time string without seconds, i.e: HH:MM. More...
 

Member Function Documentation

◆ GetFrameTime()

unsigned int CTimeUtils::GetFrameTime ( )
static

Returns the frame time in MS.

Note
Not threadsafe

◆ UpdateFrameTime()

void CTimeUtils::UpdateFrameTime ( bool  flip)
static

Update the time frame.

Note
Not threadsafe

◆ WithoutSeconds()

std::string CTimeUtils::WithoutSeconds ( const std::string &  hhmmss)
static

Returns a time string without seconds, i.e: HH:MM.

Parameters
hhmmssTime string in the format HH:MM:SS

The documentation for this class was generated from the following files: