MCPcopy Create free account
hub / github.com/arduino-libraries/NTPClient / isTimeSet

Method isTimeSet

NTPClient.cpp:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129bool NTPClient::isTimeSet() const {
130 return (this->_lastUpdate != 0); // returns true if the time has been set, else false
131}
132
133unsigned long NTPClient::getEpochTime() const {
134 return this->_timeOffset + // User offset

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected