MCPcopy 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
872template <class S>
873constexpr 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_TESTFunction · 0.45
TestTimeUnitsFunction · 0.45

Calls 1

MicroSecondsFunction · 0.85

Tested by 1

TestTimeUnitsFunction · 0.36