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

Method getTime

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

Source from the content-addressed store, hash-verified

65}
66
67time::TimePattern Schedule::getTime() const
68{
69 return time::TimePattern::parse(state.getValue().at("localtime").get<std::string>());
70 // time requires UTC parsing, which is not yet supported
71 // return time::TimePattern::parse(state.getValue().at("time").get<std::string>());
72}
73
74bool Schedule::isEnabled() const
75{

Callers 1

TEST_FFunction · 0.80

Calls 2

getValueMethod · 0.80
parseFunction · 0.50

Tested by 1

TEST_FFunction · 0.64