53 sec(
convert(day, hour, min, sec)) {};
131 int convert(
int days,
int hours,
int minutes,
int seconds);
int convert(int days, int hours, int minutes, int seconds)
converts days, hours and minutes to seconds
AGTime(int day, int hour, int min, int sec)
void operator-=(const AGTime &time)
void addDays(int days)
addition of days to the current moment
bool operator<=(const AGTime &time)
void addHours(int hours)
addition of hours to the current moment
bool operator<(const AGTime &time)
AGTime(int hour, int minutes)
bool operator==(const AGTime &time)
AGTime(int day, int hour, int min)
AGTime operator+(const AGTime &time)
void operator+=(const AGTime &time)
void addMinutes(int min)
addition of minutes to the current moment
void addSeconds(int sec)
addition of seconds to the current moment
int getSecondsInCurrentDay()
int getSecondsOf(double minutes)
computes the number of seconds in the given minutes
int getTime()
: returns the number of seconds from the beginning of the first day of simulation this includes ...
void setTime(int sec)
: sets the time from the beginning of the first day of simulation in seconds