Go to the documentation of this file.
19 #if U_SHOW_CPLUSPLUS_API
21 #if !UCONFIG_NO_FORMATTING
105 virtual int32_t countTransitionRules(
UErrorCode& status)
const = 0;
159 virtual void getOffsetFromLocal(
162 int32_t& dstOffset,
UErrorCode& status)
const;
165 #ifndef U_HIDE_INTERNAL_API
181 void getOffsetFromLocal(
UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt,
182 int32_t& rawOffset, int32_t& dstOffset,
UErrorCode& status)
const;
187 #ifndef U_HIDE_INTERNAL_API
192 static constexpr int32_t kStdDstMask = kDaylight;
197 static constexpr int32_t kFormerLatterMask = kLatter;
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type, a signed-byte integer.
BasicTimeZone is an abstract class extending TimeZone.
TimeZoneRule is a class representing a rule for time zone.
TimeZone represents a time zone offset, and also figures out daylight savings.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: TimeZone object.
AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
C++ API: Time zone transition.
InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...
TimeZone & operator=(const TimeZone &right)
Default assignment operator.
TimeZoneTransition is a class representing a time zone transition.
UTimeZoneLocalOption
Options used by ucal_getTimeZoneOffsetFromLocal and BasicTimeZone::getOffsetFromLocal() to specify ho...
double UDate
Date and Time data type.
virtual TimeZone * clone() const =0
Clones TimeZone objects polymorphically.
C++ API: Time zone rule classes.