DateTime.h File Reference
Include dependency graph for DateTime.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| class | DateTime |
| Date and time class. More... | |
| struct | DateTime::ZoneInfo |
| Basic information required when displaying or handling local times. More... | |
| struct | DateTime::ZoneInfo::Tag |
| Type for timezone abbreviation such as "GMT", "EEST". More... | |
Macros | |
| #define | SECS_PER_MIN 60 |
| #define | SECS_PER_HOUR 3600 |
| #define | SECS_PER_DAY (SECS_PER_HOUR * 24) |
| #define | MINS_PER_HOUR 60 |
| #define | DAYS_PER_WEEK 7 |
| #define | SECS_PER_WEEK (SECS_PER_DAY * DAYS_PER_WEEK) |
| #define | SECS_PER_YEAR (SECS_PER_WEEK * 52) |
| #define | SECS_YR_2000 946681200 |
Enumerations | |
| enum | dtDays_t { dtSunday , dtMonday , dtTuesday , dtWednesday , dtThursday , dtFriday , dtSaturday } |
| Days of week. More... | |
| enum | dtMonth_t { dtJanuary , dtFebruary , dtMarch , dtApril , dtMay , dtJune , dtJuly , dtAugust , dtSeptember , dtOctober , dtNovember , dtDecember } |
| Months. More... | |
Functions | |
| constexpr uint8_t | numberOfSeconds (time_t time) |
| constexpr uint8_t | numberOfMinutes (time_t time) |
| constexpr uint8_t | numberOfHours (time_t time) |
| constexpr dtDays_t | dayOfWeek (time_t time) |
| constexpr uint8_t | elapsedDays (time_t time) |
| constexpr unsigned | elapsedSecsToday (time_t time) |
| constexpr time_t | previousMidnight (time_t time) |
| constexpr time_t | nextMidnight (time_t time) |
| constexpr unsigned | elapsedSecsThisWeek (time_t time) |
1.9.1