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 java.lang.Object readResolve()
throws java.io.InvalidObjectException
java.io.InvalidObjectException - if the constant could not be resolved.java.lang.String[] isLeapMonth
java.util.Map<K,V> pluralCountToCurrencyUnitPattern
PluralRules pluralRules
ULocale ulocale
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.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.java.io.IOExceptionjava.lang.ClassNotFoundExceptionCalendar 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.java.util.EnumSet<E extends java.lang.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 java.lang.Object readResolve()
throws java.io.InvalidObjectException
java.io.InvalidObjectException - if the constant could not be resolved.int calendarField
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionjava.lang.String[] eras
Calendar.BC and Calendar.AD.java.lang.String[] eraNames
Calendar.BC and Calendar.AD.java.lang.String[] narrowEras
Calendar.BC and Calendar.AD.java.lang.String[] months
Calendar.JANUARY, Calendar.FEBRUARY, etc.java.lang.String[] shortMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.java.lang.String[] narrowMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.java.lang.String[] standaloneMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.java.lang.String[] standaloneShortMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.java.lang.String[] standaloneNarrowMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.java.lang.String[] weekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element weekdays[0] is ignored.java.lang.String[] shortWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element shortWeekdays[0] is ignored.java.lang.String[] shorterWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element shorterWeekdays[0] is ignored.java.lang.String[] narrowWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element narrowWeekdays[0] is ignored.java.lang.String[] standaloneWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneWeekdays[0] is ignored.java.lang.String[] standaloneShortWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneShortWeekdays[0] is ignored.java.lang.String[] standaloneShorterWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneShorterWeekdays[0] is ignored.java.lang.String[] standaloneNarrowWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element standaloneNarrowWeekdays[0] is ignored.java.lang.String[] ampms
Calendar.AM and
Calendar.PM.java.lang.String[] ampmsNarrow
Calendar.AM and
Calendar.PM.java.lang.String timeSeparator
java.lang.String[] shortQuarters
java.lang.String[] quarters
java.lang.String[] standaloneShortQuarters
java.lang.String[] standaloneQuarters
java.lang.String[] leapMonthPatterns
java.lang.String[] shortYearNames
java.lang.String[] shortZodiacNames
java.lang.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 zoneTimeZonejava.lang.String 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.java.lang.String[] abbreviatedDayPeriods
java.lang.String[] wideDayPeriods
java.lang.String[] narrowDayPeriods
java.lang.String[] standaloneAbbreviatedDayPeriods
java.lang.String[] standaloneWideDayPeriods
java.lang.String[] standaloneNarrowDayPeriods
java.util.Map<K,V> capitalization
ULocale requestedLocale
ULocale validLocale
ULocaleULocale actualLocale
ULocaleprivate void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionDateIntervalInfo fInfo
SimpleDateFormat fDateFormat
Calendar fFromCalendar
Calendar fToCalendar
java.lang.String fSkeleton
boolean isDateIntervalInfoDefault
java.lang.String fDatePattern
java.lang.String fTimePattern
java.lang.String fDateTimeFormat
java.lang.String fFallbackIntervalPattern
boolean fFirstDateInPtnIsLaterDate
java.util.Map<K,V> fIntervalPatterns
java.lang.String fIntervalPatternFirstPart
java.lang.String fIntervalPatternSecondPart
boolean fFirstDateInPtnIsLaterDate
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOExceptionint serialVersionOnStream
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.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.java.io.IOExceptionjava.lang.ClassNotFoundExceptionjava.lang.String[] currencySpcBeforeSym
java.lang.String[] currencySpcAfterSym
char zeroDigit
DecimalFormatSymbols.getZeroDigit()char[] digits
java.lang.String[] digitStrings
char groupingSeparator
java.lang.String groupingSeparatorString
char decimalSeparator
java.lang.String decimalSeparatorString
char perMill
DecimalFormatSymbols.getPerMill()java.lang.String perMillString
char percent
DecimalFormatSymbols.getPercent()java.lang.String percentString
char digit
DecimalFormatSymbols.getDigit()char sigDigit
char patternSeparator
java.lang.String infinity
DecimalFormatSymbols.getInfinity()java.lang.String NaN
DecimalFormatSymbols.getNaN()char minusSign
DecimalFormatSymbols.getMinusSign()java.lang.String minusString
char plusSign
java.lang.String plusString
java.lang.String currencySymbol
DecimalFormatSymbols.getCurrencySymbol()java.lang.String intlCurrencySymbol
char monetarySeparator
java.lang.String monetarySeparatorString
char monetaryGroupingSeparator
java.lang.String monetaryGroupingSeparatorString
char exponential
Note that this field has been superseded by exponentSeparator.
It is retained for backward compatibility.
java.lang.String exponentSeparator
Note that this supersedes the exponential field.
char padEscape
java.util.Locale requestedLocale
ULocale ulocale
java.lang.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.java.lang.String currencyPattern
ULocale validLocale
ULocaleULocale actualLocale
ULocaleprivate java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.InvalidObjectException - if the objects read from the stream is invalid.java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.Object readResolve()
throws java.io.InvalidObjectException
java.io.InvalidObjectException - if the constant could not be resolved.private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.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.java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream stream)
throws java.io.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.java.io.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 java.lang.Object readResolve()
throws java.io.InvalidObjectException
java.io.InvalidObjectExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionULocale ulocale
PluralRules pluralRules
java.lang.String pattern
java.util.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(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptioncom.ibm.icu.text.PluralRules.RuleList rules
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptiondouble source
int visibleDecimalDigitCount
int visibleDecimalDigitCountWithoutTrailingZeros
long decimalDigits
long decimalDigitsWithoutTrailingZeros
long integerValue
boolean hasIntegerValue
boolean isNegative
int baseFactor
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException
java.io.IOExceptionprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionULocale locale
int roundingMode
boolean lenientParse
java.util.Map<K,V> ruleSetDisplayNames
java.lang.String[] publicRuleSetNames
boolean capitalizationInfoIsSet
boolean capitalizationForListOrMenu
boolean capitalizationForStandAlone
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionjava.lang.String pattern
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
java.io.IOExceptionint serialVersionOnStream
defaultCenturyStart on stream.
defaultCenturyStart.
capitalizationSetting.
serialVersionOnStream
is written.java.lang.String pattern
java.lang.String override
java.util.HashMap<K,V> numberFormatters
java.util.HashMap<K,V> overrideMap
DateFormatSymbols formatData
DateFormatSymbolsjava.util.Date defaultCenturyStart
defaultCenturyStart, which may be any date. May
not be null.TimeZoneFormat tzFormat
int error
int line
java.lang.StringBuffer preContext
java.lang.StringBuffer postContext
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionprivate java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionNumberFormat format
ULocale locale
int style
private void readObject(java.io.ObjectInputStream ois)
throws java.lang.ClassNotFoundException,
java.io.IOException
java.lang.ClassNotFoundExceptionjava.io.IOExceptionprivate void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOExceptionString[] _gmtOffsetDigits
String[] _gmtOffsetPatterns
java.lang.String _gmtPattern
java.lang.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(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionprivate void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
java.io.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(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionint epochYear
TimeZone zoneAstro
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionprivate java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionjava.lang.String 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(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionboolean 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 java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionjava.lang.String type
java.lang.String subType
InitialTimeZoneRule initialRule
java.util.List<E> historicRules
AnnualTimeZoneRule[] finalRules
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionint 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 java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionprivate java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionint index
java.lang.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.java.lang.String name
int rawOffset
int dstSavings
java.lang.String localeID
BasicTimeZone tz
java.util.List<E> vtzlines
java.lang.String olsonzid
java.lang.String tzurl
java.util.Date lastmod
Copyright © 2016 Unicode, Inc. and others.