AceTime  0.1
Date and time classes for Arduino that supports the TZ DAtabase, and a system clock synchronized 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 provider {
9 
14 class TimeKeeper: public TimeProvider {
15  public:
21  virtual void setNow(acetime_t epochSeconds) = 0;
22 };
23 
24 }
25 }
26 
27 #endif
A TimeProvider whose time can be set by the end-user.
Definition: TimeKeeper.h:14
Base class for objects that provide a source of time whose time cannot be changed by the end-user...
Definition: TimeProvider.h:14
virtual void setNow(acetime_t epochSeconds)=0
Set the time to the indicated seconds.