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.
Dependents: CubiScan 000-FIN_youcef 005_ESSAI_youcef
TimeStamp Class Reference
This class encapsulates a point in time - which means it will not change after it has been created. More...
#include <Time.h>
Public Member Functions | |
| int | getYear () |
| int | getMonth () |
| int | getDay () |
| int | getHour () |
| int | getMinute () |
| int | getSecond () |
| int | getDayOfWeek () |
| get the day of the week - monday is 0 | |
| TimeStamp (time_t unixTime) | |
| creates a new time stamp based on the UNIX time stamp (seconds since 1970) | |
| bool | isSame (TimeStamp *ts) |
| bool | isBefore (TimeStamp *ts) |
| char * | asChar () |
| bool | isAfter (TimeStamp *ts) |
Friends | |
| class | Time |
Detailed Description
This class encapsulates a point in time - which means it will not change after it has been created.
Definition at line 37 of file Time.h.
Constructor & Destructor Documentation
| TimeStamp | ( | time_t | unixTime ) |
Member Function Documentation
| char* asChar | ( | ) |
| int getDay | ( | ) |
| int getDayOfWeek | ( | ) |
| int getMonth | ( | ) |
| bool isAfter | ( | TimeStamp * | ts ) |
| bool isBefore | ( | TimeStamp * | ts ) |
Generated on Thu Jul 14 2022 13:56:12 by
1.7.2