MCPcopy Create free account
hub / github.com/comaps/comaps / SetDuration

Method SetDuration

3party/opening_hours/opening_hours.cpp:153–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void HourMinutes::SetDuration(TMinutes const duration)
154{
155 SetHours(std::chrono::duration_cast<THours>(duration));
156 SetMinutes(duration - GetHours());
157}
158
159HourMinutes operator-(HourMinutes const & hm)
160{

Callers 1

NormalizeExtendedEndFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected