|
ESPHome 2026.3.0-dev
|
Rule for DST transition (packed for 32-bit: 12 bytes) More...
#include <posix_tz.h>
Data Fields | |
| int32_t | time_seconds |
| Seconds after midnight (default 7200 = 2:00 AM) | |
| uint16_t | day |
| Day of year (for JULIAN_NO_LEAP and DAY_OF_YEAR) | |
| DSTRuleType | type |
| Type of rule. | |
| uint8_t | month |
| Month 1-12 (for MONTH_WEEK_DAY) | |
| uint8_t | week |
| Week 1-5, 5 = last (for MONTH_WEEK_DAY) | |
| uint8_t | day_of_week |
| Day 0-6, 0 = Sunday (for MONTH_WEEK_DAY) | |
Rule for DST transition (packed for 32-bit: 12 bytes)
Definition at line 19 of file posix_tz.h.
| uint16_t esphome::time::DSTRule::day |
Day of year (for JULIAN_NO_LEAP and DAY_OF_YEAR)
Definition at line 21 of file posix_tz.h.
| uint8_t esphome::time::DSTRule::day_of_week |
Day 0-6, 0 = Sunday (for MONTH_WEEK_DAY)
Definition at line 25 of file posix_tz.h.
| uint8_t esphome::time::DSTRule::month |
Month 1-12 (for MONTH_WEEK_DAY)
Definition at line 23 of file posix_tz.h.
| int32_t esphome::time::DSTRule::time_seconds |
Seconds after midnight (default 7200 = 2:00 AM)
Definition at line 20 of file posix_tz.h.
| DSTRuleType esphome::time::DSTRule::type |
Type of rule.
Definition at line 22 of file posix_tz.h.
| uint8_t esphome::time::DSTRule::week |
Week 1-5, 5 = last (for MONTH_WEEK_DAY)
Definition at line 24 of file posix_tz.h.