![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
added GetDay() GetYear() GetWeek()
Fork of rtc_class by
Diff: DateString.cpp
- Revision:
- 3:75f5352b387d
diff -r ce174a86d215 -r 75f5352b387d DateString.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DateString.cpp Thu Apr 30 10:53:00 2015 +0000 @@ -0,0 +1,11 @@ +#include "DateString.h" +#include "RTC8563.h" + +//2. Methode überschreiben +uint8_t DateSting::GetDay() +{ + uint8_t day= Date::GetDay(); //Aufruf der GetDay- Methode aus Basisklasse Date mit Scope Operator + //Erweitern von Methoden der Basisklasse + day = day - 5; + return day; +} \ No newline at end of file