117 void parse_fractional_time(
string date);
118 void parse_integer_time(
string date);
119 void parse_iso8601_time(
string date);
170 void set(
string date);
174 void set(BaseType *arg);
178 void set(
int year,
int day_number);
182 void set(
int year,
int month,
int day);
187 void set(
int year,
int month,
int day,
date_format format);
214 int day_number()
const;
231 time_t unix_time()
const;
237 double fraction()
const;
267 #endif // _dods_date_h
int operator>(DODS_Date &d1, DODS_Date &d2)
int operator!=(DODS_Date &d1, DODS_Date &d2)
static class NCMLUtil overview
int operator<=(DODS_Date &d1, DODS_Date &d2)
int operator>=(DODS_Date &d1, DODS_Date &d2)
const double seconds_per_day
Useful constant values.
const double seconds_per_hour
int operator==(DODS_Date &d1, DODS_Date &d2)
const double seconds_per_minute
date_format
Constants used to denote different supported date formats.
int operator<(DODS_Date &d1, DODS_Date &d2)
long julian_day(int year, int month, int day)
Given a gregorian date in year, month and day, return the Julian day number.