19 #if U_SHOW_CPLUSPLUS_API 21 #if !UCONFIG_NO_FORMATTING 105 virtual int32_t countTransitionRules(
UErrorCode& status)
const = 0;
156 #ifndef U_HIDE_INTERNAL_API 173 virtual void getOffsetFromLocal(
UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt,
174 int32_t& rawOffset, int32_t& dstOffset,
UErrorCode& status)
const;
178 #ifndef U_HIDE_INTERNAL_API 184 kStdDstMask = kDaylight,
185 kFormerLatterMask = kLatter
C++ API: TimeZone object.
double UDate
Date and Time data type.
TimeZone represents a time zone offset, and also figures out daylight savings.
C++ API: Time zone transition.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
TimeZoneRule is a class representing a rule for time zone.
InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...
virtual TimeZone * clone() const =0
Clones TimeZone objects polymorphically.
TimeZoneTransition is a class representing a time zone transition.
C++ API: Time zone rule classes.
BasicTimeZone is an abstract class extending TimeZone.
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.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
int8_t UBool
The ICU boolean type.