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

Method AsStructTmUTC

util/draft/datetime.cpp:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 }
189
190 struct tm TSimpleTM::AsStructTmUTC() const {
191 struct tm res;
192 Zero(res);
193 time_t t = AsTimeT();
194 return *GmTimeR(&t, &res);
195 }
196
197 struct tm TSimpleTM::AsStructTmLocal() const {
198 struct tm t;

Callers 1

AssertSimpleTMFunction · 0.80

Calls 2

ZeroFunction · 0.85
GmTimeRFunction · 0.85

Tested by

no test coverage detected