MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getPtime

Function getPtime

game/state/gametime.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30GameTime::GameTime(uint64_t ticks) : ticks(ticks){};
31
32static boost::posix_time::ptime getPtime(uint64_t ticks)
33{
34 return GAME_START + ticksToPosix(ticks);
35}
36
37UString GameTime::getLongTimeString() const
38{

Callers 13

getLongTimeStringMethod · 0.85
getShortTimeStringMethod · 0.85
getLongDateStringMethod · 0.85
getShortDateStringMethod · 0.85
getMonthMethod · 0.85
getWeekMethod · 0.85
getMonthDayMethod · 0.85
getHoursMethod · 0.85
getMinutesMethod · 0.85

Calls 1

ticksToPosixFunction · 0.85

Tested by

no test coverage detected