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

Function GetCommonDays

libs/editor/ui2oh.cpp:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 osmoh::Weekday::Friday, osmoh::Weekday::Saturday, osmoh::Weekday::Sunday};
173
174editor::ui::OpeningDays GetCommonDays(editor::ui::OpeningDays const & a, editor::ui::OpeningDays const & b)
175{
176 editor::ui::OpeningDays result;
177 std::set_intersection(begin(a), end(a), begin(b), end(b), inserter(result, begin(result)));
178 return result;
179}
180
181osmoh::HourMinutes::TMinutes::rep GetDuration(osmoh::Time const & time)
182{

Callers 1

ExcludeRulePartFunction · 0.85

Calls 2

beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected