| 65 | } |
| 66 | |
| 67 | time::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 | |
| 74 | bool Schedule::isEnabled() const |
| 75 | { |