My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::Date Class Reference

#include <Date.h>

Public Member Functions

 Date ()
 
void reset ()
 
void convertMjdUtcToDate (double utc)
 
int getYear ()
 

Detailed Description

Class to encapsulate a date. This class is a wrapper around a DASI-style Date struct which we need to call various gcp::control methods.

Constructor & Destructor Documentation

Date::Date ( )

Constructor function just intializes the date fields by calling reset(), below.

....................................................................... Constructor function just intializes the date fields by calling reset(), below.

Member Function Documentation

void Date::convertMjdUtcToDate ( double  utc)

Convert from MJD to broken-down calendar date.

Exceptions
Exception....................................................................... Convert from MJD to broken down calendar date
int Date::getYear ( )

Return the year.

....................................................................... Return the year.

void Date::reset ( )

Intialize the date fields to zero

....................................................................... Intialize the date fields to zero


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