Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ NextYear
Method
NextYear
system/time/date.cpp:309–312 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
307
}
308
309
Date Date::NextYear() const {
310
Date result(*this);
311
return result.AddYears(1);
312
}
313
314
int Date::DaysToNextYear() const {
315
if (m_month > 2 || (m_month == 2 && m_day > 28)) {
Callers
1
DaysTo
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected