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 SOFT253_Template_Weather_OS_54 by
LocalDate/LocalDate.h@83:0d3572a8a851, 2017-05-11 (annotated)
- Committer:
- aburch1
- Date:
- Thu May 11 19:23:55 2017 +0000
- Revision:
- 83:0d3572a8a851
- Parent:
- 81:996c0a3319b4
Comments cleaned and improved throughout classes. Main header class comment complete, other class comments still need to be written.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| aburch1 | 81:996c0a3319b4 | 1 | #ifndef LOCALDATE_H |
| aburch1 | 81:996c0a3319b4 | 2 | #define LOCALDATE_H |
| aburch1 | 81:996c0a3319b4 | 3 | |
| aburch1 | 81:996c0a3319b4 | 4 | class LocalDate |
| aburch1 | 81:996c0a3319b4 | 5 | { |
| aburch1 | 81:996c0a3319b4 | 6 | public: |
| aburch1 | 83:0d3572a8a851 | 7 | int day; |
| aburch1 | 83:0d3572a8a851 | 8 | int month; |
| aburch1 | 83:0d3572a8a851 | 9 | int year; |
| aburch1 | 83:0d3572a8a851 | 10 | int hour; |
| aburch1 | 83:0d3572a8a851 | 11 | int min; |
| aburch1 | 83:0d3572a8a851 | 12 | int sec; |
| aburch1 | 83:0d3572a8a851 | 13 | |
| aburch1 | 83:0d3572a8a851 | 14 | LocalDate (int d, int m , int y,int h,int mm,int s); |
| aburch1 | 83:0d3572a8a851 | 15 | LocalDate (); |
| aburch1 | 83:0d3572a8a851 | 16 | LocalDate(LocalDate *localDate); |
| aburch1 | 83:0d3572a8a851 | 17 | |
| aburch1 | 83:0d3572a8a851 | 18 | void TickSecond(); |
| aburch1 | 83:0d3572a8a851 | 19 | char *ToString(); |
| aburch1 | 83:0d3572a8a851 | 20 | void setValues(LocalDate *localDate); |
| aburch1 | 81:996c0a3319b4 | 21 | }; |
| aburch1 | 81:996c0a3319b4 | 22 | #endif |
