MCPcopy Create free account
hub / github.com/catboost/catboost / Hours

Method Hours

util/datetime/base.h:868–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866
867template <class S>
868constexpr S TTimeBase<S>::Hours(ui64 h) noexcept {
869 return S::MicroSeconds(NDateTimeHelpers::MulWithSaturation<ui64(1'000'000) * 60 * 60>(h));
870}
871
872template <class S>
873constexpr S TTimeBase<S>::Days(ui64 d) noexcept {

Callers 2

Y_UNIT_TESTFunction · 0.45
TestTimeUnitsFunction · 0.45

Calls 1

MicroSecondsFunction · 0.85

Tested by 1

TestTimeUnitsFunction · 0.36