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

Method GetMonthDay

util/draft/date.cpp:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109unsigned TDate::GetMonthDay() const {
110 tm dateTm;
111 localtime_r(&Timestamp, &dateTm);
112 return (unsigned)dateTm.tm_mday;
113}

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 1

localtime_rFunction · 0.85

Tested by

no test coverage detected