6 #ifndef ACE_TIME_ZONED_EXTRA_H
7 #define ACE_TIME_ZONED_EXTRA_H
12 #include "TimeOffset.h"
65 int16_t year, uint8_t month, uint8_t day,
66 uint8_t hour, uint8_t minute, uint8_t second,
67 const TimeZone& tz, uint8_t fold = 0);
89 int32_t stdOffsetSeconds,
90 int32_t dstOffsetSeconds,
91 int32_t reqStdOffsetSeconds,
92 int32_t reqDstOffsetSeconds,
94 : mStdOffsetSeconds(stdOffsetSeconds)
95 , mDstOffsetSeconds(dstOffsetSeconds)
96 , mReqStdOffsetSeconds(reqStdOffsetSeconds)
97 , mReqDstOffsetSeconds(reqDstOffsetSeconds)
106 return mStdOffsetSeconds == kInvalidSeconds;
109 uint8_t type()
const {
return mType; }
157 mReqStdOffsetSeconds + mReqDstOffsetSeconds);
166 const char*
abbrev()
const {
return mAbbrev; }
169 static const int32_t kInvalidSeconds = INT32_MIN;
171 int32_t mStdOffsetSeconds = kInvalidSeconds;
172 int32_t mDstOffsetSeconds = kInvalidSeconds;
173 int32_t mReqStdOffsetSeconds = kInvalidSeconds;
174 int32_t mReqDstOffsetSeconds = kInvalidSeconds;
Class that holds the date-time as the components (year, month, day, hour, minute, second) without reg...
A thin wrapper that represents a time offset from a reference point, usually 00:00 at UTC,...
static TimeOffset forSeconds(int32_t seconds)
Create TimeOffset from seconds from 00:00.
Class that describes a time zone.
Identifiers used by implementation code which need to be publically exported.
const uint8_t kAbbrevSize
Size of the c-string buffer needed to hold a time zone abbreviation.
int32_t acetime_t
Type for the number of seconds from epoch.