OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <VcstTime.h>

Public Member Functions

int initialize (void)
 
int initialize (const char *inLeapFile)
 
double taiNow (void)
 
void tai2Unix (double inTai, timespec *)
 
double unix2Tai (timespec *tspec)
 
int taiAddDelta (double *ioTai, double inDelta)
 
int taiSubtractDelta (double *ioTai, double inDelta)
 
int cds2Tai (unsigned long long inCds, double *outTai)
 
int tai2Cds (double inTai, unsigned long long *outCds)
 
int dispCds (unsigned long long inCds)
 
int tai2Gdt (double inTai, TimGdtStruct *outGdt)
 
int gdt2Tai (TimGdtStruct *inGdt, double *outTai)
 
int tai2String (double inTai, char *outString, int inFormat=1)
 
int string2Tai (std::string inString, double *outTai)
 
void printInfo ()
 
timespec getSystemTime ()
 

Static Public Member Functions

static VcstTimegetInstance (void)
 
static std::string errorMessage (int errNo=1)
 

Detailed Description

This class manages the get time, and time conversion functions.

Definition at line 193 of file VcstTime.h.


The documentation for this class was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/include/ViirsCmn/VcstTime.h