10#ifndef SEMF_SYSTEM_CLOCK_H_
11#define SEMF_SYSTEM_CLOCK_H_
31 virtual ~Clock() =
default;
The Clock class provides real time clock functionality. It can return a DateTime object with actual d...
app::Clock & operator=(const DateTime &datetimeToSet) override
Copies the date time.
Clock(Rtc &rtc)
Constructor.
Clock(const Clock &other)=delete
DateTime & now() override
Returns the momentary date time from Rtc.
void set(DateTime &datetimeToSet) override
Sets the DateTime information from datetimeToSet to the Rtc.
The DateTime class provides date and time functionality as a point of time. It combines features of t...
Interface for the real time clock.
The Clock class provides real time clock functionality. It can return a DateTime object with actual d...