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

Method GetPredefinedTimeTable

libs/editor/opening_hours_ui.cpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121// TimeTable ---------------------------------------------------------------------------------------
122
123TimeTable TimeTable::GetPredefinedTimeTable()
124{
125 TimeTable tt;
126 tt.m_isTwentyFourHours = true;
127 tt.m_weekdays = {osmoh::Weekday::Sunday, osmoh::Weekday::Monday, osmoh::Weekday::Tuesday, osmoh::Weekday::Wednesday,
128 osmoh::Weekday::Thursday, osmoh::Weekday::Friday, osmoh::Weekday::Saturday};
129
130 tt.m_openingTime = tt.GetPredefinedOpeningTime();
131
132 return tt;
133}
134
135bool TimeTable::SetOpeningDays(OpeningDays const & days)
136{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected