MCPcopy Create free account
hub / github.com/catboost/catboost / operator-

Method operator-

util/draft/date.h:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 TDate operator-(unsigned days) const {
70 return TDate(Timestamp - days * SECONDS_IN_DAY + SECONDS_IN_DAY / 2);
71 }
72
73 unsigned GetWeekDay() const; // days since Sunday
74

Callers

nothing calls this directly

Calls 1

TDateClass · 0.85

Tested by

no test coverage detected