TSDuck Version 3.20-1615 (TSDuck - The MPEG Transport Stream Toolkit)
tsMJD.h File Reference


 TSDuck namespace, containing all TSDuck classes and functions.


bool ts::DecodeMJD (const uint8_t *mjd, size_t mjd_size, Time &time)
 Convert a Modified Julian Date (MJD) into a ts::Time. More...
bool ts::EncodeMJD (const Time &time, uint8_t *mjd, size_t mjd_size)
 Convert a ts::Time into a Modified Julian Date (MJD). More...


const size_t ts::MJD_MIN_SIZE = 2
 Minimal size in bytes of an encoded Modified Julian Date (MJD), ie. More...
const size_t ts::MJD_SIZE = 5
 Size in bytes of an encoded complete Modified Julian Date (MJD).

Detailed Description

Modified Julian Date (MJD) utilities