![]() |
TSDuck v3.39-3843
MPEG Transport Stream Toolkit
|
Modified Julian Date (MJD) utilities. More...
Namespaces | |
namespace | ts |
TSDuck namespace, containing all TSDuck classes and functions. | |
Functions | |
bool | ts::DecodeMJD (const uint8_t *mjd, size_t mjd_size, Time &time) |
Convert a Modified Julian Date (MJD) into a ts::Time. | |
bool | ts::EncodeMJD (const Time &time, uint8_t *mjd, size_t mjd_size) |
Convert a ts::Time into a Modified Julian Date (MJD). | |
Variables | |
const size_t | ts::MJD_MIN_SIZE = 2 |
Minimal size in bytes of an encoded Modified Julian Date (MJD), ie. | |
const size_t | ts::MJD_SIZE = 5 |
Size in bytes of an encoded complete Modified Julian Date (MJD). | |
Modified Julian Date (MJD) utilities.