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.IslamicCalendar.Algorithm 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.BytesTrieBuilder.BytesAsCharSequence Calendar .Calendar.FormatConfiguration Deprecated. This API is ICU internal only.Calendar.PatternData Calendar.WeekData Simple, immutable struct-like class for access to the CLDR week data.Calendar.WeekDataCache CaseInsensitiveString A string used as a key in java.util.Hashtable and other collections.CECalendar Base class for EthiopicCalendar and CopticCalendar.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.Data CodePointTrie.Data16 CodePointTrie.Data32 CodePointTrie.Data8 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.CurrencyNameResultHandler Currency.CurrencyStringInfo Deprecated. This API is ICU internal only.Currency.ServiceShim CurrencyAmount An amount of currency, consisting of a Number and a Currency.CurrencyServiceShim This is a package-access implementation of registration for currency.CurrencyServiceShim.CFService 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.EasterRule EthiopicCalendar Implement the Ethiopic calendar system.GenderInfo Deprecated. This API is ICU internal only.GenderInfo.Cache 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.IslamicCalendar.CivilAlgorithm Algorithm which implement the rules for CalculationType.ISLAMIC_CIVIL.IslamicCalendar.IslamicAlgorithm Algorithm which implement the rules for CalculationType.ISLAMIC.IslamicCalendar.TBLAAlgorithm Algorithm which implement the rules for CalculationType.ISLAMIC_TBLA.IslamicCalendar.UmalquraAlgorithm Algorithm which implement the rules for CalculationType.ISLAMIC_UMALQURA.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.LocaleLsrIterator LocaleMatcher.LsrIterator LocaleMatcher.Result Data for the best-matching pair of a desired and a supported locale.LocaleMatcher.ULocaleLsrIterator 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.MeasureUnit.CurrencyNumericCodeSink Sink for enumerating the currency numeric codes.MeasureUnit.MeasureUnitProxy MeasureUnit.MeasureUnitSink Sink for enumerating the available measure units.MutableCodePointTrie Mutable Unicode code point trie.MutableCodePointTrie.AllSameBlocks MutableCodePointTrie.MixedBlocks 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.Range 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.StringTrieBuilder.BranchHeadNode StringTrieBuilder.BranchNode StringTrieBuilder.DynamicBranchNode StringTrieBuilder.IntermediateValueNode StringTrieBuilder.LinearMatchNode StringTrieBuilder.ListBranchNode StringTrieBuilder.Node StringTrieBuilder.SplitBranchNode StringTrieBuilder.ValueNode STZInfo 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 .TimeZone.ConstantZone 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.AliasReplacer ULocale.Builder Builder
is used to build instances ofULocale
from values configured by the setters.ULocale.JDKLocaleHelper ULocale.Type Opaque selector enum for getLocale().UniversalTimeScale There are quite a few different conventions for binary datetime, depending on different platforms and protocols.UniversalTimeScale.TimeScaleData This class holds the data that describes a particular time scale.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 BasicTimeZone.LocalOption 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.StringTrieBuilder.State 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.UResourceBundle.RootType -
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 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