added GetDay() GetYear() GetWeek()

Dependencies:   mbed

Fork of rtc_class by Josef Kager

DateString.cpp

Committer:
KagerJ
Date:
2015-04-30
Revision:
3:75f5352b387d

File content as of revision 3:75f5352b387d:

#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;
}