Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CTimeUtils Class Reference

#include <TimeUtils.h>

Static Public Member Functions

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

Member Function Documentation

◆ GetFrameTime()

unsigned int CTimeUtils::GetFrameTime ( )
static

Returns the frame time in MS.

Note
Not threadsafe

◆ GetLocalTime()

CDateTime CTimeUtils::GetLocalTime ( time_t time)
static

◆ 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: