COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems

#include <timelib.h>

Collaboration diagram for DateTime:

Public Member Functions

 DateTime ()
 
 DateTime (int year, int month, int day, int hour, int minute, double seconds)
 

Public Attributes

double mjd
 

Constructor & Destructor Documentation

DateTime::DateTime ( )
1603 {
1604  mjd = currentmjd();
1605 }
double mjd
Definition: timelib.h:121
double currentmjd(double offset)
Current UTC in Modified Julian Days.
Definition: timelib.cpp:65
DateTime::DateTime ( int  year,
int  month,
int  day,
int  hour,
int  minute,
double  seconds 
)
1608 {
1609  mjd = cal2mjd(year, month, day, hour, minute, seconds, 0);
1610 }
double cal2mjd(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second, int32_t nsecond)
Calendar representation to Modified Julian Day - full.
Definition: timelib.cpp:294
double mjd
Definition: timelib.h:121

Member Data Documentation

double DateTime::mjd

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