AceTime  0.3
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
TimeKeeper.h
1 #ifndef ACE_TIME_TIME_KEEPER_H
2 #define ACE_TIME_TIME_KEEPER_H
3 
4 #include <stdint.h>
5 #include "TimeProvider.h"
6 
7 namespace ace_time {
8 namespace clock {
9 
14 class TimeKeeper: public TimeProvider {
15  public:
21  virtual void setNow(acetime_t epochSeconds) = 0;
22 };
23 
24 }
25 }
26 
27 #endif
Base class for objects that provide a source of time whose time cannot be changed by the end-user...
Definition: TimeProvider.h:15
virtual void setNow(acetime_t epochSeconds)=0
Set the time to the indicated seconds.
A TimeProvider whose time can be set by the end-user.
Definition: TimeKeeper.h:14