Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of rtc_class by
DateString.h@7:1e1e0af5d32e, 2015-04-23 (annotated)
- Committer:
- bulmecisco
- Date:
- Thu Apr 23 10:14:42 2015 +0000
- Revision:
- 7:1e1e0af5d32e
- Parent:
- 6:ebe2350041f1
- Child:
- 8:54a6f83a2339
Punkt 1 bis 3: Methoden verwenden, ueberschreiben und erweitern in Klasse DateString
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bulmecisco | 6:ebe2350041f1 | 1 | // DateString.h Version 0.3 |
bulmecisco | 7:1e1e0af5d32e | 2 | // https://developer.mbed.org/teams/HIMBED_3AHELI/code/rtc_func/wiki/Klasse-DateString-von-Date-ableiten |
bulmecisco | 7:1e1e0af5d32e | 3 | |
bulmecisco | 6:ebe2350041f1 | 4 | #include "mbed.h" |
bulmecisco | 6:ebe2350041f1 | 5 | #include "const.h" |
bulmecisco | 6:ebe2350041f1 | 6 | #include "Date.h" |
bulmecisco | 6:ebe2350041f1 | 7 | #include "string" |
bulmecisco | 6:ebe2350041f1 | 8 | |
bulmecisco | 6:ebe2350041f1 | 9 | #ifndef DATESTRING_H |
bulmecisco | 6:ebe2350041f1 | 10 | #define DATESTRING_H |
bulmecisco | 6:ebe2350041f1 | 11 | class DateString : public Date // DateString abgeleitet von Date |
bulmecisco | 6:ebe2350041f1 | 12 | { |
bulmecisco | 6:ebe2350041f1 | 13 | public: |
bulmecisco | 6:ebe2350041f1 | 14 | uint8_t GetDay(); // 2. Methode ueberschreiben |
bulmecisco | 6:ebe2350041f1 | 15 | |
bulmecisco | 6:ebe2350041f1 | 16 | }; |
bulmecisco | 6:ebe2350041f1 | 17 | |
bulmecisco | 6:ebe2350041f1 | 18 | #endif |