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

Method LocalTime

util/datetime/base.h:477–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475 }
476
477 inline struct tm* LocalTime(struct tm* tm) const noexcept {
478 time_t clock = Seconds();
479 return localtime_r(&clock, tm);
480 }
481
482 inline struct tm* GmTime(struct tm* tm) const noexcept {
483 time_t clock = Seconds();

Callers 3

GetLocalTimeSSimpleFunction · 0.45
PrintLocalTimeSFunction · 0.45

Calls 2

localtime_rFunction · 0.85
SecondsFunction · 0.50

Tested by

no test coverage detected