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

Method ToStroka

util/draft/date.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85TString TDate::ToStroka(const char* format) const {
86 tm dateTm;
87 localtime_r(&Timestamp, &dateTm);
88 return Strftime(format, &dateTm);
89}
90
91unsigned TDate::GetWeekDay() const {
92 tm dateTm;

Callers 2

date.hFile · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 2

localtime_rFunction · 0.85
StrftimeFunction · 0.85

Tested by

no test coverage detected