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