Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
initDate
Function · 0.85
Calls
4
Date
Class · 0.85
getCurrentYear
Function · 0.85
getCurrentMonth
Function · 0.85
getCurrentDayOfMonth
Function · 0.85
Tested by
no test coverage detected