Package com.ibm.icu.util
International calendars and other utility classes.
-
Interface Summary Interface Description CodePointMap.ValueFilter Callback function interface: Modifies a map value.DateRule Note: The Holiday framework is a technology preview.Freezable<T> Provides a flexible mechanism for controlling access, without requiring that a class be immutable.MeasureUnit.Factory Deprecated. This API is ICU internal only.RangeValueIterator Interface for enabling iteration over sets of <int index, int value>, where index is the sorted integer index in ascending order and value, its associated integer value.ValueIterator Interface for enabling iteration over sets of <int, Object>, where int is the sorted integer index in ascending order, and Object its associated value. -
Class Summary Class Description AnnualTimeZoneRule AnnualTimeZoneRuleis a class used for representing a time zone rule which takes effect annually.BasicTimeZone [icu] BasicTimeZone extendsTimeZonewith additional methods to access time zone transitions and rules.BuddhistCalendar BuddhistCalendaris a subclass ofGregorianCalendarthat numbers years since the birth of the Buddha.ByteArrayWrapper A simple utility class to wrap a byte array.BytesTrie Light-weight, non-const reader class for a BytesTrie.BytesTrie.Entry Return value type for the Iterator.BytesTrie.Iterator Iterator for all of the (byte sequence, value) pairs in a BytesTrie.BytesTrie.State BytesTrie state object, for saving a trie's current state and resetting the trie back to this state later.BytesTrieBuilder Builder class for BytesTrie.Calendar [icu enhancement] ICU's replacement forjava.util.Calendar. Methods, fields, and other functionality specific to ICU are labeled '[icu]'.Calendar.FormatConfiguration Deprecated. This API is ICU internal only.Calendar.WeekData Simple, immutable struct-like class for access to the CLDR week data.CaseInsensitiveString A string used as a key in java.util.Hashtable and other collections.CharsTrie Light-weight, non-const reader class for a CharsTrie.CharsTrie.Entry Return value type for the Iterator.CharsTrie.Iterator Iterator for all of the (string, value) pairs in a CharsTrie.CharsTrie.State CharsTrie state object, for saving a trie's current state and resetting the trie back to this state later.CharsTrieBuilder Builder class for CharsTrie.ChineseCalendar ChineseCalendaris a concrete subclass ofCalendarthat implements a traditional Chinese calendar.CodePointMap Abstract map from Unicode code points (U+0000..U+10FFFF) to integer values.CodePointMap.Range Range iteration result data.CodePointTrie Immutable Unicode code point trie.CodePointTrie.Fast A CodePointTrie withCodePointTrie.Type.FAST.CodePointTrie.Fast16 A CodePointTrie withCodePointTrie.Type.FASTandCodePointTrie.ValueWidth.BITS_16.CodePointTrie.Fast32 A CodePointTrie withCodePointTrie.Type.FASTandCodePointTrie.ValueWidth.BITS_32.CodePointTrie.Fast8 A CodePointTrie withCodePointTrie.Type.FASTandCodePointTrie.ValueWidth.BITS_8.CodePointTrie.Small A CodePointTrie withCodePointTrie.Type.SMALL.CodePointTrie.Small16 A CodePointTrie withCodePointTrie.Type.SMALLandCodePointTrie.ValueWidth.BITS_16.CodePointTrie.Small32 A CodePointTrie withCodePointTrie.Type.SMALLandCodePointTrie.ValueWidth.BITS_32.CodePointTrie.Small8 A CodePointTrie withCodePointTrie.Type.SMALLandCodePointTrie.ValueWidth.BITS_8.CompactByteArray Deprecated. This API is ICU internal only.CompactCharArray Deprecated. This API is ICU internal only.CopticCalendar Implement the Coptic calendar system.Currency A class encapsulating a currency, as defined by ISO 4217.Currency.CurrencyStringInfo Deprecated. This API is ICU internal only.CurrencyAmount An amount of currency, consisting of a Number and a Currency.DangiCalendar Deprecated. This API is ICU internal only.DateInterval This class represents date interval.DateTimeRule DateTimeRuleis a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.EasterHoliday Note: The Holiday framework is a technology preview.EthiopicCalendar Implement the Ethiopic calendar system.GenderInfo Deprecated. This API is ICU internal only.GlobalizationPreferences This convenience class provides a mechanism for bundling together different globalization preferences.GregorianCalendar [icu enhancement] ICU's replacement forjava.util.GregorianCalendar. Methods, fields, and other functionality specific to ICU are labeled '[icu]'.HebrewCalendar HebrewCalendaris a subclass ofCalendarthat that implements the traditional Hebrew calendar.HebrewHoliday Note: The Holiday framework is a technology preview.Holiday Note: The Holiday framework is a technology preview.IndianCalendar IndianCalendaris a subclass ofGregorianCalendarthat numbers years since the birth of the Buddha.InitialTimeZoneRule InitialTimeZoneRulerepresents a time zone rule representing a time zone effective from the beginning and has no actual start times.IslamicCalendar IslamicCalendaris a subclass ofCalendarthat that implements the Islamic civil and religious calendars.JapaneseCalendar JapaneseCalendaris a subclass ofGregorianCalendarthat numbers years and eras based on the reigns of the Japanese emperors.LocaleData A class for accessing miscellaneous data in the locale bundlesLocaleData.MeasurementSystem Enumeration for representing the measurement systems.LocaleData.PaperSize A class that represents the size of letter head used in the countryLocaleMatcher Immutable class that picks the best match between a user's desired locales and an application's supported locales.LocaleMatcher.Builder LocaleMatcher Builder.LocaleMatcher.Result Data for the best-matching pair of a desired and a supported locale.LocalePriorityList Provides an immutable list of languages/locales in priority order.LocalePriorityList.Builder Class used for building LocalePriorityLists.Measure An amount of a specified unit, consisting of a Number and a Unit.MeasureUnit A unit such as length, mass, volume, currency, etc.MutableCodePointTrie Mutable Unicode code point trie.NoUnit Dimensionless unit for percent and permille.Output<T> Simple struct-like class for output parameters.OutputInt Deprecated. This API is ICU internal only.PersianCalendar Deprecated. This API is ICU internal only.RangeDateRule Note: The Holiday framework is a technology preview.RangeValueIterator.Element Return result wrapper for com.ibm.icu.util.RangeValueIterator.Region Regionis the class representing a Unicode Region Code, also known as a Unicode Region Subtag, which is defined based upon the BCP 47 standard.RuleBasedTimeZone RuleBasedTimeZoneis a concrete subclass ofTimeZonethat allows users to define custom historic time transition rules.SimpleDateRule Note: The Holiday framework is a technology preview.SimpleHoliday Note: The Holiday framework is a technology preview.SimpleTimeZone [icu enhancement] ICU's replacement forjava.util.SimpleTimeZone. Methods, fields, and other functionality specific to ICU are labeled '[icu]'.StringTokenizer [icu enhancement] ICU's replacement forjava.util.Calendar. Methods, fields, and other functionality specific to ICU are labeled '[icu]'.StringTrieBuilder Base class for string trie builder classes.TaiwanCalendar TaiwanCalendaris a subclass ofGregorianCalendarthat numbers years since 1912.TimeArrayTimeZoneRule TimeArrayTimeZoneRulerepresents a time zone rule whose start times are defined by an array of milliseconds since the standard base time.TimeUnit Measurement unit for time units.TimeUnitAmount Express a duration as a time unit and number.TimeZone [icu enhancement] ICU's replacement forjava.util.TimeZone. Methods, fields, and other functionality specific to ICU are labeled '[icu]'.TimeZoneRule TimeZoneRuleis an abstract class representing a rule for time zone.TimeZoneTransition TimeZoneTransitionis a class representing a time zone transition.ULocale [icu enhancement] ICU's replacement forjava.util.Locale. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. A class analogous toLocalethat provides additional support for ICU protocol.ULocale.Builder Builderis used to build instances ofULocalefrom values configured by the setters.ULocale.RegionValidateMap Deprecated. This API is ICU internal only.ULocale.Type Opaque selector enum forgetLocale().UniversalTimeScale There are quite a few different conventions for binary datetime, depending on different platforms and protocols.UResourceBundle [icu enhancement] ICU's replacement forjava.util.ResourceBundle. Methods, fields, and other functionality specific to ICU are labeled '[icu]'.UResourceBundleIterator Class for enabling iteration over UResourceBundle objects.ValueIterator.Element The return result container of each iteration.VersionInfo Class to store version numbers of the form major.minor.milli.micro.VTimeZone VTimeZoneis a class implementing RFC2445 VTIMEZONE. -
Enum Summary Enum Description BasicTimeZone.LocalOption [icu] Options used byBasicTimeZone.getOffsetFromLocal(long, LocalOption, LocalOption, int[])to specify how to interpret an input time when it does not exist, or when it is ambiguous, around a time zone transition.BytesTrie.Result Return values for BytesTrie.next(), CharsTrie.next() and similar methods.CodePointMap.RangeOption Selectors for how getRange() should report value ranges overlapping with surrogates.CodePointTrie.Type Selectors for the type of a CodePointTrie.CodePointTrie.ValueWidth Selectors for the number of bits in a CodePointTrie data value.Currency.CurrencyUsage Currency Usage used for Decimal FormatGenderInfo.Gender Deprecated. This API is ICU internal only.GenderInfo.ListGenderStyle Deprecated. This API is ICU internal only.IslamicCalendar.CalculationType enumeration of available calendar calculation typesLocaleMatcher.Demotion Builder option for whether all desired locales are treated equally or earlier ones are preferred.LocaleMatcher.Direction Builder option for whether to include or ignore one-way (fallback) match data.LocaleMatcher.FavorSubtag Builder option for whether the language subtag or the script subtag is most important.MeasureUnit.Complexity Enumeration for unit complexity.MeasureUnit.MeasurePrefix Enumeration for SI and binary prefixes, e.g.Region.RegionType RegionType is an enumeration defining the different types of regions.StringTrieBuilder.Option Build options for BytesTrieBuilder and CharsTrieBuilder.TimeZone.SystemTimeZoneType [icu] System time zone type constants used by filtering zones inTimeZone.getAvailableIDs(SystemTimeZoneType, String, Integer)ULocale.AvailableType ULocale.Category Enum for locale categories.ULocale.Minimize Deprecated. This API is ICU internal only. -
Exception Summary Exception Description ICUCloneNotSupportedException Unchecked version ofCloneNotSupportedException.ICUException Base class for unchecked, ICU-specific exceptions.ICUInputTooLongException The input is impractically long for an operation.ICUUncheckedIOException Unchecked version ofIOException.IllformedLocaleException Thrown by methods inULocaleandULocale.Builderto indicate that an argument is not a well-formed BCP 47 tag.UResourceTypeMismatchException Exception thrown when the requested resource type is not the same type as the available resource