TSDuck Version 3.16-1064 (TSDuck - The MPEG Transport Stream Toolkit)
tsMJD.h File Reference

Modified Julian Date (MJD) utilities. More...

Namespaces

 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. 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...
 

Variables

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.