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 AnnualTimeZoneRule
is a class used for representing a time zone rule which takes effect annually.BasicTimeZone BasicTimeZone extendsTimeZone
with additional methods to access time zone transitions and rules.BuddhistCalendar BuddhistCalendar
is a subclass ofGregorianCalendar
that 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 .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 ChineseCalendar
is a concrete subclass ofCalendar
that 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.FAST
andCodePointTrie.ValueWidth.BITS_16
.CodePointTrie.Fast32 A CodePointTrie withCodePointTrie.Type.FAST
andCodePointTrie.ValueWidth.BITS_32
.CodePointTrie.Fast8 A CodePointTrie withCodePointTrie.Type.FAST
andCodePointTrie.ValueWidth.BITS_8
.CodePointTrie.Small A CodePointTrie withCodePointTrie.Type.SMALL
.CodePointTrie.Small16 A CodePointTrie withCodePointTrie.Type.SMALL
andCodePointTrie.ValueWidth.BITS_16
.CodePointTrie.Small32 A CodePointTrie withCodePointTrie.Type.SMALL
andCodePointTrie.ValueWidth.BITS_32
.CodePointTrie.Small8 A CodePointTrie withCodePointTrie.Type.SMALL
andCodePointTrie.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 DateTimeRule
is 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 .HebrewCalendar HebrewCalendar
is a subclass ofCalendar
that 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 IndianCalendar
is a subclass ofGregorianCalendar
that numbers years since the birth of the Buddha.InitialTimeZoneRule InitialTimeZoneRule
represents a time zone rule representing a time zone effective from the beginning and has no actual start times.IslamicCalendar IslamicCalendar
is a subclass ofCalendar
that that implements the Islamic civil and religious calendars.JapaneseCalendar JapaneseCalendar
is a subclass ofGregorianCalendar
that 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 Region
is the class representing a Unicode Region Code, also known as a Unicode Region Subtag, which is defined based upon the BCP 47 standard.RuleBasedTimeZone RuleBasedTimeZone
is a concrete subclass ofTimeZone
that 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 .StringTokenizer .StringTrieBuilder Base class for string trie builder classes.TaiwanCalendar TaiwanCalendar
is a subclass ofGregorianCalendar
that numbers years since 1912.TimeArrayTimeZoneRule TimeArrayTimeZoneRule
represents 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 .TimeZoneRule TimeZoneRule
is an abstract class representing a rule for time zone.TimeZoneTransition TimeZoneTransition
is a class representing a time zone transition.ULocale . A class analogous toLocale
that provides additional support for ICU protocol.ULocale.Builder Builder
is used to build instances ofULocale
from values configured by the setters.ULocale.Type Opaque selector enum for getLocale().UniversalTimeScale There are quite a few different conventions for binary datetime, depending on different platforms and protocols.UResourceBundle .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 VTimeZone
is a class implementing RFC2445 VTIMEZONE. -
Enum Summary Enum Description 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.Region.RegionType RegionType is an enumeration defining the different types of regions.StringTrieBuilder.Option Build options for BytesTrieBuilder and CharsTrieBuilder.TimeZone.SystemTimeZoneType 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.ICUUncheckedIOException Unchecked version ofIOException
.IllformedLocaleException Thrown by methods inULocale
andULocale.Builder
to 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