17 #if !UCONFIG_NO_FORMATTING
18 #ifndef U_HIDE_INTERNAL_API
146 class TimeZoneGenericNames;
324 uint32_t getDefaultParseOptions(
void)
const;
334 void setDefaultParseOptions(uint32_t flags);
513 static UClassID U_EXPORT2 getStaticClassID(
void);
541 TimeZoneGenericNames* fTimeZoneGenericNames;
556 uint32_t fDefParseOptionFlags;
593 const TimeZoneGenericNames* getTimeZoneGenericNames(
UErrorCode& status)
const;
668 void appendOffsetDigits(
UnicodeString& buf, int32_t n, uint8_t minDigits)
const;
682 UBool* hasDigitOffset)
const;
692 int32_t parseOffsetFields(
const UnicodeString& text, int32_t start,
UBool minimumHourWidth,
693 int32_t& parsedLen)
const;
702 int32_t parseAbuttingOffsetFields(
const UnicodeString& text, int32_t start, int32_t& parsedLen)
const;
711 int32_t parseOffsetDefaultLocalizedGMT(
const UnicodeString& text,
int start, int32_t& parsedLen)
const;
721 int32_t parseDefaultOffsetFields(
const UnicodeString& text, int32_t start,
UChar separator,
722 int32_t& parsedLen)
const;
738 int32_t parseOffsetFieldWithLocalizedDigits(
const UnicodeString& text, int32_t start,
739 uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen)
const;
750 int32_t parseSingleLocalizedDigit(
const UnicodeString& text, int32_t start, int32_t& len)
const;
762 OffsetFields minFields, OffsetFields maxFields,
UnicodeString& result);
777 OffsetFields minFields, OffsetFields maxFields,
UBool fixedHourWidth);
793 OffsetFields minFields, OffsetFields maxFields,
UBool fixedHourWidth);
808 void initGMTOffsetPatterns(
UErrorCode& status);
815 TimeZone* createTimeZoneForOffset(int32_t offset)
const;
ISO 8601 format (extended), such as "-05:00", "Z"(UTC)
When a time zone display name is not found within a set of display names used for the specified style...
UTimeZoneFormatGMTOffsetPatternType
Constants for GMT offset pattern types.
Negative offset with hour and minute fields.
UTimeZoneFormatParseOption
Constants for parse option flags, used for specifying optional parse behavior.
UTimeZoneFormatTimeType
Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...
Generic location format, such as "United States Time (New York)", "Italy Time".
C++ API: TimeZone object.
double UDate
Date and Time data type.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
#define ULOC_COUNTRY_CAPACITY
Useful constant for the maximum size of the country part of a locale ID (including the terminating NU...
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Negative offset with hour, minute and second fields.
TimeZone represents a time zone offset, and also figures out daylight savings.
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
#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.
MatchInfoCollection represents a collection of time zone name matches used by TimeZoneNames#find.
Positive offset with hour and minute fields.
TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
#define NULL
Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.
UTimeZoneFormatStyle
Constants for time zone display format style used by format/parse APIs in TimeZoneFormat.
Specific short format, such as "EST", "PDT".
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Positive offset with hour, minute and second fields.
Generic long non-location format, such as "Eastern Time".
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
RFC822 format, such as "-0500".
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
Specific long format, such as "Eastern Standard Time".
UTimeZoneNameType
Constants for time zone display name types.
Localized GMT offset format, such as "GMT-05:00", "UTC+0100".
Generic short non-location format, such as "ET".
int8_t UBool
The ICU boolean type.
A Locale object represents a specific geographical, political, or cultural region.