Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Days
Method
Days
util/datetime/base.h:873–875 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
871
872
template <class S>
873
constexpr S TTimeBase<S>::Days(ui64 d) noexcept {
874
return S::MicroSeconds(NDateTimeHelpers::MulWithSaturation<ui64(1
'000'
000) * 60 * 60 * 24>(d));
875
}
876
877
#ifdef _MSC_VER
878
#pragma warning(pop)
Callers
2
Y_UNIT_TEST
Function · 0.45
TestTimeUnits
Function · 0.45
Calls
1
MicroSeconds
Function · 0.85
Tested by
1
TestTimeUnits
Function · 0.36