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

Method GetHours

3party/opening_hours/opening_hours.cpp:223–228  ·  view source on GitHub ↗

Time --------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

221
222// Time --------------------------------------------------------------------------------------------
223Time::THours Time::GetHours() const
224{
225 if (IsEvent())
226 return GetEvent().GetEventTime().GetHours();
227 return GetHourMinutes().GetHours();
228}
229
230Time::TMinutes Time::GetMinutes() const
231{

Callers 4

UNIT_TESTFunction · 0.45
operator-Function · 0.45
operator==Function · 0.45

Calls 1

GetEventTimeMethod · 0.80

Tested by 1

UNIT_TESTFunction · 0.36