MythTV  master
Functions
dvbtables.cpp File Reference
#include <cmath>
#include "dvbtables.h"
#include "dvbdescriptors.h"
Include dependency graph for dvbtables.cpp:

Go to the source code of this file.

Functions

QDateTime dvbdate2qt (const unsigned char *buf)
 
time_t dvbdate2unix (const unsigned char *buf)
 
uint32_t dvbdate2key (const unsigned char *buf)
 

Function Documentation

◆ dvbdate2qt()

dvbdate2qt ( const unsigned char *  buf)
Returns
UTC time as QDateTime

Definition at line 277 of file dvbtables.cpp.

Referenced by DishEventTagsDescriptor::originalairdate(), DVBEventInformationTable::StartTimeUTC(), and TimeDateTable::UTC().

◆ dvbdate2unix()

dvbdate2unix ( const unsigned char *  buf)
Returns
UTC time as time_t

Definition at line 322 of file dvbtables.cpp.

Referenced by DVBEventInformationTable::StartTimeUnixUTC(), and TimeDateTable::UTCUnix().

◆ dvbdate2key()

dvbdate2key ( const unsigned char *  buf)
Returns
UTC time as 32 bit key

Definition at line 340 of file dvbtables.cpp.

Referenced by DVBEventInformationTable::StartTimeKey().