MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / weeklyNet

Function weeklyNet

tests/net_schedule_planner_test.cpp:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29NetEntry weeklyNet(const QString& id, int qtDow, const QString& time, int lead)
30{
31 static const char* codes[] = {"MO", "TU", "WE", "TH", "FR", "SA", "SU"};
32 NetEntry e;
33 e.id = id;
34 e.name = id;
35 e.rrule = QString("FREQ=WEEKLY;BYDAY=%1").arg(codes[qtDow - 1]);
36 e.timeOfDay = time;
37 e.timezone = "Etc/UTC";
38 e.reminderLeadMinutes = lead;
39 return e;
40}
41
42} // namespace
43

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected