![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Rtc class
Fork of rtc_class by
DateString.h@6:a52551f2f398, 2015-04-30 (annotated)
- Committer:
- Andi104
- Date:
- Thu Apr 30 10:48:30 2015 +0000
- Revision:
- 6:a52551f2f398
RTC Class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Andi104 | 6:a52551f2f398 | 1 | // DateString.h |
Andi104 | 6:a52551f2f398 | 2 | #include "mbed.h" |
Andi104 | 6:a52551f2f398 | 3 | #include "const.h" |
Andi104 | 6:a52551f2f398 | 4 | #include "Date.h" |
Andi104 | 6:a52551f2f398 | 5 | #include "string" |
Andi104 | 6:a52551f2f398 | 6 | |
Andi104 | 6:a52551f2f398 | 7 | #ifndef DATESTRING_H |
Andi104 | 6:a52551f2f398 | 8 | #define DATESTRING_H |
Andi104 | 6:a52551f2f398 | 9 | class DateString : public Date // DateString abgeleitet von Date |
Andi104 | 6:a52551f2f398 | 10 | { |
Andi104 | 6:a52551f2f398 | 11 | public: |
Andi104 | 6:a52551f2f398 | 12 | uint8_t GetDay(); // 2. Methode überschreiben |
Andi104 | 6:a52551f2f398 | 13 | uint8_t GetNextDay(); |
Andi104 | 6:a52551f2f398 | 14 | using Date::GetDay(); |
Andi104 | 6:a52551f2f398 | 15 | string GetDay(string str); |
Andi104 | 6:a52551f2f398 | 16 | |
Andi104 | 6:a52551f2f398 | 17 | }; |
Andi104 | 6:a52551f2f398 | 18 | #endif |