MythTV  master
Functions
MythTZ Namespace Reference

Functions

int calc_utc_offset (void)
 
static QString getSystemTimeZoneID (void)
 
QString getTimeZoneID (void)
 Returns the zoneinfo time zone ID or as much time zone information as possible. More...
 
bool checkTimeZone (void)
 Verifies the time zone settings on this system agree with those on the master backend. More...
 
bool checkTimeZone (const QStringList &)
 This overloaded version allows for the use of an existing (not managed by MythContext) connection to the backend. More...
 

Function Documentation

◆ calc_utc_offset()

MBASE_PUBLIC int MythTZ::calc_utc_offset ( void  )

◆ getSystemTimeZoneID()

static QString MythTZ::getSystemTimeZoneID ( void  )
static

Definition at line 31 of file mythtimezone.cpp.

Referenced by getTimeZoneID().

◆ getTimeZoneID()

MBASE_PUBLIC QString MythTZ::getTimeZoneID ( void  )

Returns the zoneinfo time zone ID or as much time zone information as possible.

Definition at line 52 of file mythtimezone.cpp.

Referenced by Myth::GetTimeZone(), MainServer::HandleQueryTimeZone(), and BaseRequestHandler::HandleQueryTimeZone().

◆ checkTimeZone() [1/2]

MBASE_PUBLIC bool MythTZ::checkTimeZone ( void  )

Verifies the time zone settings on this system agree with those on the master backend.

Definition at line 88 of file mythtimezone.cpp.

◆ checkTimeZone() [2/2]

MBASE_PUBLIC bool MythTZ::checkTimeZone ( const QStringList &  )

This overloaded version allows for the use of an existing (not managed by MythContext) connection to the backend.

Definition at line 95 of file mythtimezone.cpp.