MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getCurrentDate

Function getCurrentDate

src/OpenLoco/src/Date.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 Date getCurrentDate()
57 {
58 return Date(getCurrentYear(), getCurrentMonth(), getCurrentDayOfMonth() + 1);
59 }
60
61 void setDate(const Date& date)
62 {

Callers 1

initDateFunction · 0.85

Calls 4

DateClass · 0.85
getCurrentYearFunction · 0.85
getCurrentMonthFunction · 0.85
getCurrentDayOfMonthFunction · 0.85

Tested by

no test coverage detected