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

Method CurrentUTC

util/draft/datetime.cpp:67–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 };
66
67 TSimpleTM TSimpleTM::CurrentUTC() {
68 return New((time_t)TInstant::MicroSeconds(InterpolatedMicroSeconds()).Seconds());
69 }
70
71 TSimpleTM TSimpleTM::New(time_t t, i32 gmtoff, i8 isdst) {
72 time_t tt = t + gmtoff + isdst * 3600;

Callers

nothing calls this directly

Calls 4

MicroSecondsFunction · 0.85
InterpolatedMicroSecondsFunction · 0.85
NewFunction · 0.50
SecondsMethod · 0.45

Tested by

no test coverage detected