TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Modified Julian Date (MJD) utilities. More...
Namespaces | |
namespace | ts |
TSDuck namespace, containing all TSDuck classes and functions. | |
Enumerations | |
enum | ts::MJDFormat { ts::MJD_FULL = 5 , ts::MJD_DATE = 2 } |
Storage format of Modified Julian Dates as used by DVB. More... | |
Functions | |
bool | ts::DecodeMJD (const uint8_t *mjd, MJDFormat fmt, Time &time) |
Convert a Modified Julian Date (MJD) into a ts::Time. | |
bool | ts::EncodeMJD (const Time &time, uint8_t *mjd, MJDFormat fmt) |
Convert a ts::Time into a Modified Julian Date (MJD). | |
size_t | ts::MJDSize (MJDFormat fmt) |
Get the size in bytes of a MJD value, depending on its format. | |
Modified Julian Date (MJD) utilities.