39#include <libdap/dods-datatypes.h>
40#include <libdap/BaseType.h>
68 double _sec_since_midnight;
99 DODS_Time(dods_uint32 hh, dods_uint32 mm,
bool gmt =
false);
107 DODS_Time(dods_uint32 hh, dods_uint32 mm,
double ss,
bool gmt =
false);
122 void set(
string time);
128 void set(BaseType *arg);
136 void set(
int hh,
int mm,
bool gmt =
false);
145 void set(
int hh,
int mm,
double ss,
bool gmt =
false);
156 string get(
bool gmt =
true)
const;
friend int operator<(DODS_Time &t1, DODS_Time &t2)
Less-than.
double seconds_since_midnight() const
string get(bool gmt=true) const
friend int operator!=(DODS_Time &t1, DODS_Time &t2)
Inequality.
friend int operator>(DODS_Time &t1, DODS_Time &t2)
Greater-than.
void set_epsilon(double eps)
friend int operator<=(DODS_Time &t1, DODS_Time &t2)
Less-than or Equal-to.
friend int operator==(DODS_Time &t1, DODS_Time &t2)
Equality.
double get_epsilon() const
friend int operator>=(DODS_Time &t1, DODS_Time &t2)
Greater-than or Equal-to.