MythTV  master
Functions
MythTZ Namespace Reference

Functions

int calc_utc_offset (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  )

◆ getTimeZoneID()

MBASE_PUBLIC QString MythTZ::getTimeZoneID ( void  )

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

Definition at line 32 of file mythtimezone.cpp.

Referenced by Myth::GetTimeZone(), V2Myth::GetTimeZone(), BaseRequestHandler::HandleQueryTimeZone(), and MainServer::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 72 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 79 of file mythtimezone.cpp.