37 #if !UCONFIG_NO_FORMATTING
169 const int32_t* rawOffset,
372 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
373 uint8_t dayOfWeek, int32_t millis,
UErrorCode& status)
const = 0;
395 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
396 uint8_t dayOfWeek, int32_t milliseconds,
397 int32_t monthLength,
UErrorCode& status)
const = 0;
422 virtual void getOffset(
UDate date,
UBool local, int32_t& rawOffset,
432 virtual void setRawOffset(int32_t offsetMillis) = 0;
441 virtual int32_t getRawOffset(
void)
const = 0;
592 virtual UBool useDaylightTime(
void)
const = 0;
626 virtual TimeZone* clone(
void)
const = 0;
664 virtual int32_t getDSTSavings()
const;
684 char *region, int32_t capacity,
UErrorCode& status);
728 friend class ZoneMeta;
781 int32_t& minute, int32_t& second);
805 static UnicodeString& formatCustomID(int32_t hour, int32_t min, int32_t sec,
813 static void initDefault(
void);
828 friend class TZEnumeration;
EDisplayType
Enum for use with getDisplayName.
double UDate
Date and Time data type.
Selector for short display name derived from time zone offset.
UBool operator!=(const TimeZone &that) const
Returns true if the two TimeZones are NOT equal; that is, if operator==() returns false...
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Selector for long display name derived from time zone offset.
Selector for short display name derived from the time zone's fallback name.
Selector for long display name.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Common ICU base class UObject.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
Selector for short generic display name.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UObject is the common ICU "boilerplate" class.
Selector for long generic display name.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
USystemTimeZoneType
System time zone type constants used by filtering zones in ucal_openTimeZoneIDEnumeration.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
TimeZone represents a time zone offset, and also figures out daylight savings.
Base class for 'pure' C++ implementations of uenum api.
void setID(const UnicodeString &ID)
Sets the TimeZone's ID to the specified value.
Basic definitions for ICU, for both C and C++ APIs.
struct UResourceBundle UResourceBundle
A Locale object represents a specific geographical, political, or cultural region.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
int8_t UBool
The ICU boolean type.
UnicodeString & getID(UnicodeString &ID) const
Fills in "ID" with the TimeZone's ID.