byte ind
byte form
This property is an optimization; it allows us to defer number layout until it is actually needed as a string, hence avoiding unnecessary formatting.
byte[] mant
Once constructed, this may become shared between several BigDecimal objects, so must not be altered.
For efficiency (speed), this is a byte array, with each byte taking a value of 0 -> 9.
If the first byte is 0 then the value of the number is zero (and mant.length=1, except when constructed from a plain number, for example, 0.000).
int exp
For fixed point arithmetic, scale is -exp, and can apply to zero.
Note that this property can have a value less than MinExp when the mantissa has more than one digit.
int digits
The BigDecimal operator methods use this value to
determine the precision of results.
Note that leading zeros (in the integer part of a number) are
never significant.
digits will always be non-negative.
int form
The BigDecimal operator methods use this value to
determine the form of results, in particular whether and how
exponential notation should be used.
boolean lostDigits
true to enable checking, or
to false to disable checking.
When enabled, the BigDecimal operator methods check
the precision of their operand or operands, and throw an
ArithmeticException if an operand is more precise
than the digits setting (that is, digits would be lost).
When disabled, operands are rounded to the specified digits.
int roundingMode
The BigDecimal operator methods use this value to
determine the algorithm to be used when non-zero digits have to
be discarded in order to reduce the precision of a result.
The value must be one of the public constants whose name starts
with ROUND_.
@Deprecated protected Object readResolve() throws InvalidObjectException
InvalidObjectException - if the constant could not be resolved.String[] isLeapMonth
Map<K,V> pluralCountToCurrencyUnitPattern
PluralRules pluralRules
ULocale ulocale
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream is less than 1, indicating that
the stream was written by a pre-ICU-53 version,
set capitalizationSetting to a default value.
Finally, set serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.IOExceptionClassNotFoundExceptionCalendar calendar
DateFormat uses to produce the time field
values needed to implement date and time formatting. Subclasses should
initialize this to a calendar appropriate for the locale associated with
this DateFormat.NumberFormat numberFormat
DateFormat uses to format numbers
in dates and times. Subclasses should initialize this to a number format
appropriate for the locale associated with this DateFormat.EnumSet<E extends Enum<E>> booleanAttributes
DisplayContext capitalizationSetting
int serialVersionOnStream
DateFormat present on the stream.
Possible values are:
DateFormat, the most recent format
(corresponding to the highest allowable serialVersionOnStream)
is always written.protected Object readResolve() throws InvalidObjectException
InvalidObjectException - if the constant could not be resolved.int calendarField
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionString[] eras
Calendar.BC and Calendar.AD.String[] eraNames
Calendar.BC and Calendar.AD.String[] narrowEras
Calendar.BC and Calendar.AD.String[] months
Calendar.JANUARY, Calendar.FEBRUARY, etc.String[] shortMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.String[] narrowMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.String[] standaloneMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.String[] standaloneShortMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.String[] standaloneNarrowMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.String[] weekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element weekdays[0] is ignored.String[] shortWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element shortWeekdays[0] is ignored.String[] shorterWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element shorterWeekdays[0] is ignored.String[] narrowWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element narrowWeekdays[0] is ignored.String[] standaloneWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneWeekdays[0] is ignored.String[] standaloneShortWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneShortWeekdays[0] is ignored.String[] standaloneShorterWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneShorterWeekdays[0] is ignored.String[] standaloneNarrowWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneNarrowWeekdays[0] is ignored.String[] ampms
Calendar.AM and
Calendar.PM.String[] ampmsNarrow
Calendar.AM and
Calendar.PM.String timeSeparator
String[] shortQuarters
String[] quarters
String[] standaloneShortQuarters
String[] standaloneQuarters
String[] leapMonthPatterns
String[] shortYearNames
String[] shortZodiacNames
String[][] zoneStrings
TimeZone.
Each such row contains (with i ranging from
0..n-1):
zoneStrings[i][0] - time zone IDzoneStrings[i][1] - long name of zone in standard
timezoneStrings[i][2] - short name of zone in
standard timezoneStrings[i][3] - long name of zone in daylight
savings timezoneStrings[i][4] - short name of zone in daylight
savings timezoneStrings[i][5] - location name of zonezoneStrings[i][6] - long generic name of zonezoneStrings[i][7] - short generic of zoneTimeZoneString localPatternChars
DateFormat.ERA_FIELD,
DateFormat.YEAR_FIELD, etc. Thus, if the string were
"Xz...", then localized patterns would use 'X' for era and 'z' for year.String[] abbreviatedDayPeriods
String[] wideDayPeriods
String[] narrowDayPeriods
String[] standaloneAbbreviatedDayPeriods
String[] standaloneWideDayPeriods
String[] standaloneNarrowDayPeriods
Map<K,V> capitalization
ULocale requestedLocale
ULocale validLocale
ULocaleULocale actualLocale
ULocaleprivate void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionDateIntervalInfo fInfo
SimpleDateFormat fDateFormat
Calendar fFromCalendar
Calendar fToCalendar
String fSkeleton
boolean isDateIntervalInfoDefault
String fDatePattern
String fTimePattern
String fDateTimeFormat
protected Object readResolve() throws InvalidObjectException
InvalidObjectExceptionprivate void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream oos) throws IOException
IOExceptionint serialVersionOnStream
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream
is less than 1, initialize monetarySeparator to be
the same as decimalSeparator and exponential
to be 'E'.
Finally, sets serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.IOExceptionClassNotFoundExceptionString[] currencySpcBeforeSym
String[] currencySpcAfterSym
char zeroDigit
DecimalFormatSymbols.getZeroDigit()char[] digits
String[] digitStrings
char groupingSeparator
String groupingSeparatorString
char decimalSeparator
String decimalSeparatorString
char perMill
DecimalFormatSymbols.getPerMill()String perMillString
char percent
DecimalFormatSymbols.getPercent()String percentString
char digit
DecimalFormatSymbols.getDigit()char sigDigit
char patternSeparator
String infinity
DecimalFormatSymbols.getInfinity()String NaN
DecimalFormatSymbols.getNaN()char minusSign
DecimalFormatSymbols.getMinusSign()String minusString
char plusSign
String plusString
String currencySymbol
DecimalFormatSymbols.getCurrencySymbol()String intlCurrencySymbol
char monetarySeparator
String monetarySeparatorString
char monetaryGroupingSeparator
String monetaryGroupingSeparatorString
char exponential
Note that this field has been superseded by exponentSeparator.
It is retained for backward compatibility.
String exponentSeparator
Note that this supersedes the exponential field.
char padEscape
Locale requestedLocale
ULocale ulocale
String exponentMultiplicationSign
int serialVersionOnStream
DecimalFormatSymbols present on the stream.
Possible values are:
monetarySeparator and exponential.
DecimalFormatSymbols, the most recent format
(corresponding to the highest allowable serialVersionOnStream)
is always written.String currencyPattern
ULocale validLocale
ULocaleULocale actualLocale
ULocaleprivate Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the objects read from the stream is invalid.IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionprotected Object readResolve() throws InvalidObjectException
InvalidObjectException - if the constant could not be resolved.private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream is less than 1, indicating that
the stream was written by JDK 1.1,
set the int fields such as maximumIntegerDigits
to be equal to the byte fields such as maxIntegerDigits,
since the int fields were not present in JDK 1.1.
Finally, set serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
byte fields such as maxIntegerDigits to be
equal to the int fields such as maximumIntegerDigits
(or to Byte.MAX_VALUE, whichever is smaller), for compatibility
with the JDK 1.1 version of the stream format.IOExceptionboolean groupingUsed
NumberFormat.isGroupingUsed()byte maxIntegerDigits
maxIntegerDigits must be greater than or equal to
minIntegerDigits.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.2 and higher, the new
int field maximumIntegerDigits is used instead.
When writing to a stream, maxIntegerDigits is set to
maximumIntegerDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.
NumberFormat.getMaximumIntegerDigits()byte minIntegerDigits
minimumIntegerDigits must be less than or equal to
maximumIntegerDigits.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.2 and higher, the new
int field minimumIntegerDigits is used instead.
When writing to a stream, minIntegerDigits is set to
minimumIntegerDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.
NumberFormat.getMinimumIntegerDigits()byte maxFractionDigits
maximumFractionDigits must be greater than or equal to
minimumFractionDigits.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.2 and higher, the new
int field maximumFractionDigits is used instead.
When writing to a stream, maxFractionDigits is set to
maximumFractionDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.
NumberFormat.getMaximumFractionDigits()byte minFractionDigits
minimumFractionDigits must be less than or equal to
maximumFractionDigits.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.2 and higher, the new
int field minimumFractionDigits is used instead.
When writing to a stream, minFractionDigits is set to
minimumFractionDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.
NumberFormat.getMinimumFractionDigits()boolean parseIntegerOnly
NumberFormat.isParseIntegerOnly()int maximumIntegerDigits
maximumIntegerDigits must be greater than or equal to
minimumIntegerDigits.NumberFormat.getMaximumIntegerDigits()int minimumIntegerDigits
minimumIntegerDigits must be less than or equal to
maximumIntegerDigits.NumberFormat.getMinimumIntegerDigits()int maximumFractionDigits
maximumFractionDigits must be greater than or equal to
minimumFractionDigits.NumberFormat.getMaximumFractionDigits()int minimumFractionDigits
minimumFractionDigits must be less than or equal to
maximumFractionDigits.NumberFormat.getMinimumFractionDigits()Currency currency
int serialVersionOnStream
NumberFormat present on the stream.
Possible values are:
int fields such as
maximumIntegerDigits were not present, and the byte
fields such as maxIntegerDigits are used instead.
byte fields such as maxIntegerDigits are ignored,
and the int fields such as maximumIntegerDigits
are used instead.
NumberFormat, the most recent format
(corresponding to the highest allowable serialVersionOnStream)
is always written.boolean parseStrict
DisplayContext capitalizationSetting
protected Object readResolve() throws InvalidObjectException
InvalidObjectExceptionprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionULocale ulocale
PluralRules pluralRules
String pattern
Map<K,V> parsedValues
String(plural case keyword) --> String
(message for this plural case).NumberFormat numberFormat
NumberFormat is used for the standard formatting of
the number inserted into the message.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionprivate Object writeReplace() throws ObjectStreamException
ObjectStreamExceptioncom.ibm.icu.text.PluralRules.RuleList rules
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptiondouble source
int visibleDecimalDigitCount
int visibleDecimalDigitCountWithoutTrailingZeros
long decimalDigits
long decimalDigitsWithoutTrailingZeros
long integerValue
boolean hasIntegerValue
boolean isNegative
int baseFactor
protected Object readResolve() throws InvalidObjectException
InvalidObjectExceptionprivate void readObject(ObjectInputStream in) throws IOException
IOExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionULocale locale
int roundingMode
boolean lenientParse
Map<K,V> ruleSetDisplayNames
String[] publicRuleSetNames
boolean capitalizationInfoIsSet
boolean capitalizationForListOrMenu
boolean capitalizationForStandAlone
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionString pattern
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
IOExceptionint serialVersionOnStream
defaultCenturyStart on stream.
defaultCenturyStart.
capitalizationSetting.
serialVersionOnStream
is written.String pattern
String override
HashMap<K,V> numberFormatters
HashMap<K,V> overrideMap
DateFormatSymbols formatData
DateFormatSymbolsDate defaultCenturyStart
defaultCenturyStart, which may be any date. May
not be null.TimeZoneFormat tzFormat
int error
int line
StringBuffer preContext
StringBuffer postContext
private Object readResolve() throws ObjectStreamException
ObjectStreamExceptionprivate Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionNumberFormat format
ULocale locale
int style
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionprivate void writeObject(ObjectOutputStream oos) throws IOException
IOExceptionString[] _gmtOffsetDigits
String[] _gmtOffsetPatterns
String _gmtPattern
String _gmtZeroFormat
ULocale _locale
boolean _parseAllStyles
true if this TimeZoneFormat object is configure
for parsing all available names.TimeZoneNames _tznames
DateTimeRule dateTimeRule
int startYear
int endYear
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
IOExceptionlong time
boolean lenient
time from fields[].Calendar.setLenient(boolean)TimeZone zone
int firstDayOfWeek
Calendar.SUNDAY,
Calendar.MONDAY, etc. This is a locale-dependent value.int minimalDaysInFirstWeek
int weekendOnset
int weekendOnsetMillis
int weekendCease
int weekendCeaseMillis
int repeatedWallTime
int skippedWallTime
ULocale validLocale
ULocaleULocale actualLocale
ULocaleprivate void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionint epochYear
TimeZone zoneAstro
private Object readResolve() throws ObjectStreamException
ObjectStreamExceptionprivate Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionString isoCode
long fromDate
long toDate
int dateRuleType
int month
int dayOfMonth
int dayOfWeek
int weekInMonth
int timeRuleType
int millisInDay
int eraType
long gregorianCutover
int _errIdx
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionboolean civil
true if this object uses the fixed-cycle Islamic civil calendar,
and false if it approximates the true religious calendar using
astronomical calculations for the time of the new moon.IslamicCalendar.CalculationType cType
private Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionInitialTimeZoneRule initialRule
List<E> historicRules
AnnualTimeZoneRule[] finalRules
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionint raw
int dst
com.ibm.icu.util.STZInfo xinfo
int startMonth
int startDay
int startDayOfWeek
int startTime
int startTimeMode
int endTimeMode
int endMonth
int endDay
int endDayOfWeek
int endTime
int startYear
boolean useDaylight
int startMode
int endMode
long[] startTimes
int timeType
private Object readResolve() throws ObjectStreamException
ObjectStreamExceptionprivate Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionint index
String ID
TimeZone. This is a
programmatic identifier used internally to look up TimeZone
objects from the system table and also to map them to their localized
display names. ID values are unique in the system
table but may not be for dynamically created zones.String name
int rawOffset
int dstSavings
String localeID
Copyright © 2016 Unicode, Inc. and others.