Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ validDate
Function
validDate
bolt/type/TimestampConversion.cpp:181–184 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
}
180
return true;
181
}
182
183
inline bool validDate(int64_t daysSinceEpoch) {
184
return daysSinceEpoch >= std::numeric_limits<int32_t>::min() &&
185
daysSinceEpoch <= std::numeric_limits<int32_t>::max();
186
}
187
Callers
1
tryParseDateString
Function · 0.85
Calls
2
min
Function · 0.70
max
Function · 0.70
Tested by
no test coverage detected