Timezone.h File Reference
Include dependency graph for Timezone.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| struct | TZ::Rule |
| Describe rules for when daylight/summer time begins, and when standard time begins. More... | |
| struct | TZ::Rule::Time |
| class | TZ::Timezone |
| Class to support local/UTC time conversions using rules. More... | |
Namespaces | |
| TZ | |
Typedefs | |
| using | Timezone = TZ::Timezone |
| using | TimeChangeRule = TZ::Rule |
Enumerations | |
| enum | TZ::week_t { TZ::First , TZ::Second , TZ::Third , TZ::Fourth , TZ::Last } |
Week number for Rule More... | |
| enum | TZ::dow_t { TZ::Sun = 0 , TZ::Mon , TZ::Tue , TZ::Wed , TZ::Thu , TZ::Fri , TZ::Sat } |
| Day of week. Same as DateTime dtDays_t. More... | |
| enum | TZ::month_t { TZ::Jan = 0 , TZ::Feb , TZ::Mar , TZ::Apr , TZ::May , TZ::Jun , TZ::Jul , TZ::Aug , TZ::Sep , TZ::Oct , TZ::Nov , TZ::Dec } |
| Month by name. Same as DateTime dtMonth_t. More... | |
Functions | |
| String | toString (TZ::week_t week) |
Variables | |
| static constexpr time_t | TZ::minTime = std::max(-5364662400LL, (long long)std::numeric_limits<time_t>::min() + 1) |
| Earliest timestamp we might wish to use. More... | |
| static constexpr time_t | TZ::maxTime = std::min(253402300799LL, (long long)std::numeric_limits<time_t>::max() - 1) |
| Largest future timestamp value we could reasonably want. More... | |
| static constexpr time_t | TZ::invalidTime = maxTime + 1 |
| Value outside normal range used to indicate abnormal or uninitialised time values. More... | |
Typedef Documentation
◆ TimeChangeRule
| using TimeChangeRule = TZ::Rule |
◆ Timezone
| using Timezone = TZ::Timezone |
Function Documentation
◆ toString()
| String toString | ( | TZ::week_t | week | ) |
1.9.1