added GetDay() GetYear() GetWeek()

Dependencies:   mbed

Fork of rtc_class by Josef Kager

Revision:
3:75f5352b387d
Parent:
2:ce174a86d215
--- a/Date.cpp	Thu Apr 23 09:42:34 2015 +0000
+++ b/Date.cpp	Thu Apr 30 10:53:00 2015 +0000
@@ -25,7 +25,7 @@
     uint8_t year = rtc_read(YEARS);
     return bcdToUint(year & 0x3F);
 }
-uint8_t Date::GetWEEK()
+uint8_t Date::GetWeek()
 {
     uint8_t week = rtc_read(WEEKDAYS);
     return bcdToUint(week & 0x07);