DateTime::ZoneInfo Struct Reference
Basic information required when displaying or handling local times. More...
#include <DateTime.h>
Collaboration diagram for DateTime::ZoneInfo:
Classes | |
| struct | Tag |
| Type for timezone abbreviation such as "GMT", "EEST". More... | |
Public Member Functions | |
| int | offsetSecs () const |
| Get the offset in seconds so it can be added/subtracted directly from a time_t value. More... | |
| String | getOffsetString (char sep) const |
| Return offset in ISO8601 string format, e.g. +11:00. More... | |
Public Attributes | |
| Tag | tag {} |
| Abbreviation such as "GMT", "EEST" shown after time. More... | |
| int16_t | offsetMins {0} |
| Offset from UTC in minutes. More... | |
| bool | isDst {false} |
| True if daylight savings is in effect. More... | |
Detailed Description
Basic information required when displaying or handling local times.
Member Function Documentation
◆ getOffsetString()
| String DateTime::ZoneInfo::getOffsetString | ( | char | sep | ) | const |
Return offset in ISO8601 string format, e.g. +11:00.
◆ offsetSecs()
|
inline |
Get the offset in seconds so it can be added/subtracted directly from a time_t value.
Member Data Documentation
◆ isDst
| bool DateTime::ZoneInfo::isDst {false} |
True if daylight savings is in effect.
◆ offsetMins
| int16_t DateTime::ZoneInfo::offsetMins {0} |
Offset from UTC in minutes.
◆ tag
| Tag DateTime::ZoneInfo::tag {} |
Abbreviation such as "GMT", "EEST" shown after time.
The documentation for this struct was generated from the following file:
1.9.1