| 170 | } |
| 171 | |
| 172 | unsigned int GameTime::getLastDayOfCurrentMonth() const |
| 173 | { |
| 174 | return getPtime(this->ticks).date().end_of_month().year_month_day().day; |
| 175 | } |
| 176 | |
| 177 | unsigned int GameTime::getDay() const { return (this->ticks + TICKS_PER_DAY - 1) / TICKS_PER_DAY; } |
| 178 |
no test coverage detected