|
CARMA C++
|
Class to encapsulate a date. More...
#include <carma/antenna/sza/antenna/control/Date.h>
Public Member Functions | |
| void | convertMjdUtcToDate (double utc) |
| Convert from MJD to broken-down calendar date. More... | |
| Date () | |
| Constructor function just intializes the date fields by calling reset(), below. More... | |
| int | getYear () |
| Return the year. More... | |
| void | reset () |
| Intialize the date fields to zero. More... | |
Class to encapsulate a date.
This class is a wrapper around a DASI-style Date struct which we need to call various sza::array methods.
| sza::antenna::control::Date::Date | ( | ) |
Constructor function just intializes the date fields by calling reset(), below.
| void sza::antenna::control::Date::convertMjdUtcToDate | ( | double | utc | ) |
Convert from MJD to broken-down calendar date.
| Exception |
| int sza::antenna::control::Date::getYear | ( | ) |
Return the year.
| void sza::antenna::control::Date::reset | ( | ) |
Intialize the date fields to zero.