MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / setTime

Method setTime

dependencies/hueplusplus-1.0.0/src/Schedule.cpp:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void Schedule::setTime(const time::TimePattern& timePattern)
117{
118 // if (state.getValue().count("localtime"))
119 //{
120 sendPutRequest({{"localtime", timePattern.toString()}}, CURRENT_FILE_INFO);
121 // Time requires UTC time, which is not yet supported
122 //}
123 // else
124 //{
125 // sendPutRequest({{"time", timePattern.toString()}}, CURRENT_FILE_INFO);
126 //}
127 refresh();
128}
129
130void Schedule::setEnabled(bool enabled)
131{

Callers 2

TEST_FFunction · 0.80
TESTFunction · 0.80

Calls 1

toStringMethod · 0.80

Tested by 2

TEST_FFunction · 0.64
TESTFunction · 0.64