Package com.ibm.icu.util
International calendars and other utility classes.
-
Interface Summary Interface Description 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 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 .Calendar.FormatConfiguration Deprecated. This API is ICU internal only.Calendar.WeekData Simple, immutable struct-like class for access to the CLDR weekend 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.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 .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 Provides a way to match the languages (locales) supported by a product to the languages (locales) acceptable to a user, and get the best match.LocaleMatcher.LanguageMatcherData Deprecated. This API is ICU internal only.LocalePriorityList Provides an immutable list of languages (locales) in priority order.LocalePriorityList.Builder Class used for building LanguagePriorityListsMeasure An amount of a specified unit, consisting of a Number and a Unit.MeasureUnit A unit such as length, mass, volume, currency, etc.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 .StringTokenizer .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 .TimeZoneRule TimeZoneRuleis an abstract class representing a rule for time zone.TimeZoneTransition TimeZoneTransitionis a class representing a time zone transition.ULocale . A class analogous toLocalethat provides additional support for ICU protocol.ULocale.Builder Builderis used to build instances ofULocalefrom 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 VTimeZoneis a class implementing RFC2445 VTIMEZONE. -
Enum Summary Enum Description BytesTrie.Result Return values for BytesTrie.next(), CharsTrie.next() and similar methods.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 typesRegion.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.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 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