#include <date.h>
Public Member Functions | |
Epoch2Leap (const double epoch_time=0., const int leap_sec=0) | |
constructor | |
~Epoch2Leap () | |
destructor | |
double | get_epoch_time () const |
accessor to the epoch time of a change leap seconds event | |
int | get_leap_sec () const |
accessor to the number of leap seconds at the given time | |
void | print () const |
print out content |
Dates UTC to TAI leap seconds increments, and number of leap seconds to add
Epoch2Leap::Epoch2Leap | ( | const double | epoch_time = 0. , |
|
const int | leap_sec = 0 | |||
) | [inline] |
constructor
epoch_time | a date in UNIX epoch time when leap seconds increase | |
leap_sec | the total number of leap seconds at the given date |
double Epoch2Leap::get_epoch_time | ( | ) | const [inline] |
accessor to the epoch time of a change leap seconds event
int Epoch2Leap::get_leap_sec | ( | ) | const [inline] |
accessor to the number of leap seconds at the given time