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