OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <LeapSecondDatabase.hpp>

Public Member Functions

 LeapSecond (unsigned short year, unsigned short month, unsigned short day, float leap_seconds_)
 

Public Attributes

boost::posix_time::ptime time
 
float leap_seconds
 

Detailed Description

Class representing the instant in time a leap second was/will be added.

Definition at line 20 of file LeapSecondDatabase.hpp.

Constructor & Destructor Documentation

◆ LeapSecond()

LeapSecond ( unsigned short  year,
unsigned short  month,
unsigned short  day,
float  leap_seconds_ 
)
inline

Construct a with a date and the number of leap seconds in effect starting at the input date.

Parameters
yearyear
monthmonth
dayday
leap_seconds_Leap seconds starting here

Definition at line 31 of file LeapSecondDatabase.hpp.

Member Data Documentation

◆ leap_seconds

float leap_seconds

New count of leap seconds.

Definition at line 33 of file LeapSecondDatabase.hpp.

◆ time

boost::posix_time::ptime time

Instance in time of leap second addition.

Definition at line 32 of file LeapSecondDatabase.hpp.


The documentation for this class was generated from the following file: