/external/icu/icu4c/source/i18n/ |
H A D | nfsubs.h | 37 DecimalFormat* numberFormat; member in class:NFSubstitution 55 const DecimalFormat* getNumberFormat() const { return numberFormat; }
|
H A D | timezone.cpp | 1333 NumberFormat* numberFormat = 0; local 1354 numberFormat = NumberFormat::createInstance(success); 1358 numberFormat->setParseIntegerOnly(TRUE); 1359 //numberFormat->setLenient(TRUE); // TODO: May need to set this, depends on latest timezone parsing 1364 numberFormat->parse(id, n, pos); 1366 delete numberFormat; 1374 delete numberFormat; 1381 numberFormat->parse(id, n, pos); 1384 delete numberFormat; 1390 delete numberFormat; [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | plurfmt.h | 573 NumberFormat* numberFormat; member in class:PluralFormat
|
H A D | measfmt.h | 338 const SharedNumberFormat *numberFormat; member in class:MeasureFormat
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | QuantityFormatter.java | 60 * @param numberFormat used to actually format the number. 61 * @param pluralRules uses the number and the numberFormat to determine what plural 65 public String format(double number, NumberFormat numberFormat, PluralRules pluralRules) { argument 66 String formatStr = numberFormat.format(number); 67 StandardPlural p = selectPlural(number, numberFormat, pluralRules); 95 public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) { argument 97 if (numberFormat instanceof DecimalFormat) { 98 pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number));
|
H A D | NFSubstitution.java | 36 * (Either this or numberFormat has to be non-null.) 44 final DecimalFormat numberFormat; field in class:NFSubstitution 183 this.numberFormat = null; 190 this.numberFormat = null; 198 this.numberFormat = (DecimalFormat) ruleSet.owner.getDecimalFormat().clone(); 199 this.numberFormat.applyPattern(description); 208 this.numberFormat = null; 250 && (numberFormat == null ? (that2.numberFormat == null) : numberFormat [all...] |
H A D | PluralFormat.java | 173 private NumberFormat numberFormat = null; field in class:PluralFormat 352 * @param numberFormat The number formatter to use. 355 /*package*/ PluralFormat(ULocale ulocale, PluralType type, String pattern, NumberFormat numberFormat) { argument 356 init(null, type, ulocale, numberFormat); 370 * <code>numberFormat</code>: a <code>NumberFormat</code> for the locale 373 private void init(PluralRules rules, PluralType type, ULocale locale, NumberFormat numberFormat) { argument 378 this.numberFormat = (numberFormat == null) ? NumberFormat.getInstance(ulocale) : numberFormat; 592 return numberFormat [all...] |
H A D | TimeUnitFormat.java | 170 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { argument 172 if (numberFormat != null) { 173 setNumberFormat((NumberFormat) numberFormat.clone());
|
H A D | RelativeDateTimeFormatter.java | 464 // This class is thread-safe, yet numberFormat is not. To ensure thread-safety of this 465 // class we must guarantee that only one thread at a time uses our numberFormat. 466 synchronized (numberFormat) { 470 numberFormat, pluralRules, formatStr, fieldPosition); 678 // This class is thread-safe, yet numberFormat is not. To ensure thread-safety of this 679 // class we must guarantee that only one thread at a time uses our numberFormat. 680 synchronized (numberFormat) { 681 return (NumberFormat) numberFormat.clone(); 720 NumberFormat numberFormat, 729 this.numberFormat 715 RelativeDateTimeFormatter( EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, String combinedDateAndTime, PluralRules pluralRules, NumberFormat numberFormat, Style style, DisplayContext capitalizationContext, BreakIterator breakIterator, ULocale locale) argument 777 private final NumberFormat numberFormat; field in class:RelativeDateTimeFormatter [all...] |
H A D | MeasureFormat.java | 122 private final transient ImmutableNumberFormat numberFormat; field in class:MeasureFormat 312 toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); 386 int maxFrac = numberFormat.nf.getMaximumFractionDigits(); 387 int minFrac = numberFormat.nf.getMinimumFractionDigits(); 389 DecimalFormat currentNumberFormat = (DecimalFormat) numberFormat.get(); 397 lowFormatted = numberFormat.format(lowNumber, new StringBuffer(), lowFpos); 398 highFormatted = numberFormat.format(highNumber, new StringBuffer(), highFpos); 489 return formatMeasure(newMeasure, numberFormat, appendTo, pos); 494 formatMeasure(measure, numberFormat, new StringBuilder(), fpos), 524 return formatMeasure(measures[0], numberFormat, appendT 1359 private NumberFormat numberFormat; field in class:MeasureFormat.MeasureProxy 1363 MeasureProxy( ULocale locale, FormatWidth width, NumberFormat numberFormat, int subClass) argument [all...] |
H A D | DateFormat.java | 161 protected NumberFormat numberFormat; field in class:DateFormat 1462 this.numberFormat = newNumberFormat; 1466 this.numberFormat.setParseIntegerOnly(true); 1476 return numberFormat; 1628 return numberFormat.hashCode(); 1643 ((numberFormat==null && other.numberFormat==null) || 1644 (numberFormat!=null && other.numberFormat!=null && numberFormat [all...] |
H A D | SimpleDateFormat.java | 1064 NumberFormat numberFormat, ULocale locale, boolean useFastFormat,String override) { 1068 this.numberFormat = numberFormat; 1111 if (numberFormat == null) { 1114 numberFormat = NumberFormat.getInstance(locale); 1119 numberFormat = new DateNumberFormat(locale, digitString, nsName); 1139 * the current numberFormat and update its digits if necessary. When false, 1147 if (numberFormat instanceof DecimalFormat) { 1148 DecimalFormatSymbols decsym = ((DecimalFormat) numberFormat).getDecimalFormatSymbols(); 1150 } else if (numberFormat instanceo 1063 SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, NumberFormat numberFormat, ULocale locale, boolean useFastFormat,String override) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | QuantityFormatter.java | 59 * @param numberFormat used to actually format the number. 60 * @param pluralRules uses the number and the numberFormat to determine what plural 64 public String format(double number, NumberFormat numberFormat, PluralRules pluralRules) { argument 65 String formatStr = numberFormat.format(number); 66 StandardPlural p = selectPlural(number, numberFormat, pluralRules); 94 public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) { argument 96 if (numberFormat instanceof DecimalFormat) { 97 pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number));
|
H A D | NFSubstitution.java | 35 * (Either this or numberFormat has to be non-null.) 43 final DecimalFormat numberFormat; field in class:NFSubstitution 182 this.numberFormat = null; 189 this.numberFormat = null; 197 this.numberFormat = (DecimalFormat) ruleSet.owner.getDecimalFormat().clone(); 198 this.numberFormat.applyPattern(description); 207 this.numberFormat = null; 249 && (numberFormat == null ? (that2.numberFormat == null) : numberFormat [all...] |
H A D | PluralFormat.java | 173 private NumberFormat numberFormat = null; field in class:PluralFormat 365 * @param numberFormat The number formatter to use. 368 /*package*/ PluralFormat(ULocale ulocale, PluralType type, String pattern, NumberFormat numberFormat) { argument 369 init(null, type, ulocale, numberFormat); 383 * <code>numberFormat</code>: a <code>NumberFormat</code> for the locale 386 private void init(PluralRules rules, PluralType type, ULocale locale, NumberFormat numberFormat) { argument 391 this.numberFormat = (numberFormat == null) ? NumberFormat.getInstance(ulocale) : numberFormat; 609 return numberFormat [all...] |
H A D | TimeUnitFormat.java | 168 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { argument 170 if (numberFormat != null) { 171 setNumberFormat((NumberFormat) numberFormat.clone());
|
H A D | RelativeDateTimeFormatter.java | 520 // This class is thread-safe, yet numberFormat is not. To ensure thread-safety of this 521 // class we must guarantee that only one thread at a time uses our numberFormat. 522 synchronized (numberFormat) { 526 numberFormat, pluralRules, formatStr, fieldPosition); 739 // This class is thread-safe, yet numberFormat is not. To ensure thread-safety of this 740 // class we must guarantee that only one thread at a time uses our numberFormat. 741 synchronized (numberFormat) { 742 return (NumberFormat) numberFormat.clone(); 783 NumberFormat numberFormat, 792 this.numberFormat 778 RelativeDateTimeFormatter( EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, String combinedDateAndTime, PluralRules pluralRules, NumberFormat numberFormat, Style style, DisplayContext capitalizationContext, BreakIterator breakIterator, ULocale locale) argument 840 private final NumberFormat numberFormat; field in class:RelativeDateTimeFormatter [all...] |
H A D | MeasureFormat.java | 122 private final transient ImmutableNumberFormat numberFormat; field in class:MeasureFormat 328 toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); 403 int maxFrac = numberFormat.nf.getMaximumFractionDigits(); 404 int minFrac = numberFormat.nf.getMinimumFractionDigits(); 406 DecimalFormat currentNumberFormat = (DecimalFormat) numberFormat.get(); 414 lowFormatted = numberFormat.format(lowNumber, new StringBuffer(), lowFpos); 415 highFormatted = numberFormat.format(highNumber, new StringBuffer(), highFpos); 507 return formatMeasure(newMeasure, numberFormat, appendTo, pos); 512 formatMeasure(measure, numberFormat, new StringBuilder(), fpos), 543 return formatMeasure(measures[0], numberFormat, appendT 1387 private NumberFormat numberFormat; field in class:MeasureFormat.MeasureProxy 1391 MeasureProxy( ULocale locale, FormatWidth width, NumberFormat numberFormat, int subClass) argument [all...] |
H A D | DateFormat.java | 163 protected NumberFormat numberFormat; field in class:DateFormat 1576 this.numberFormat = newNumberFormat; 1580 this.numberFormat.setParseIntegerOnly(true); 1591 return numberFormat; 1754 return numberFormat.hashCode(); 1770 ((numberFormat==null && other.numberFormat==null) || 1771 (numberFormat!=null && other.numberFormat!=null && numberFormat [all...] |
H A D | SimpleDateFormat.java | 1070 NumberFormat numberFormat, ULocale locale, boolean useFastFormat,String override) { 1074 this.numberFormat = numberFormat; 1116 if (numberFormat == null) { 1119 numberFormat = NumberFormat.getInstance(locale); 1124 numberFormat = new DateNumberFormat(locale, digitString, nsName); 1144 * the current numberFormat and update its digits if necessary. When false, 1152 if (numberFormat instanceof DecimalFormat) { 1153 DecimalFormatSymbols decsym = ((DecimalFormat) numberFormat).getDecimalFormatSymbols(); 1155 } else if (numberFormat instanceo 1069 SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, NumberFormat numberFormat, ULocale locale, boolean useFastFormat,String override) argument [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
H A D | PluralFormat.java | 172 private NumberFormat numberFormat = null; field in class:PluralFormat 223 * <code>numberFormat</code>: a <code>NumberFormat</code> for the locale 231 numberFormat = NumberFormat.getInstance(locale); 460 buf.append(", format='" + numberFormat + "'");
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | AsYouTypeFormatter.java | 44 // The pattern from numberFormat that is currently used to create formattingTemplate. 79 // A pattern that is used to determine if a numberFormat under availableFormats is eligible to be 80 // used by the AYTF. It is eligible when the format element under numberFormat contains groups of 92 // formatter. The first element of the leadingDigitsPattern of each numberFormat contains a 153 NumberFormat numberFormat = it.next(); 154 String pattern = numberFormat.getPattern(); 158 if (createFormattingTemplate(numberFormat)) { 162 numberFormat.getNationalPrefixFormattingRule()).find(); 244 private String getFormattingTemplate(String numberPattern, String numberFormat) { argument 256 // Formats the number according to numberFormat [all...] |
H A D | PhoneNumberUtil.java | 1078 * @param numberFormat the format the phone number should be formatted into 1081 public String format(PhoneNumber number, PhoneNumberFormat numberFormat) { argument 1094 format(number, numberFormat, formattedNumber); 1102 public void format(PhoneNumber number, PhoneNumberFormat numberFormat, argument 1109 if (numberFormat == PhoneNumberFormat.E164) { 1129 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat)); 1130 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber); 1131 prefixNumberWithCountryCallingCode(countryCallingCode, numberFormat, formattedNumber); 1141 * @param numberFormat the format the phone number should be formatted into 1146 PhoneNumberFormat numberFormat, 1145 formatByPattern(PhoneNumber number, PhoneNumberFormat numberFormat, List<NumberFormat> userDefinedFormats) argument 1732 prefixNumberWithCountryCallingCode(int countryCallingCode, PhoneNumberFormat numberFormat, StringBuilder formattedNumber) argument 1753 formatNsn(String number, PhoneMetadata metadata, PhoneNumberFormat numberFormat) argument 1761 formatNsn(String number, PhoneMetadata metadata, PhoneNumberFormat numberFormat, String carrierCode) argument 1795 formatNsnUsingPattern(String nationalNumber, NumberFormat formattingPattern, PhoneNumberFormat numberFormat) argument 1803 formatNsnUsingPattern(String nationalNumber, NumberFormat formattingPattern, PhoneNumberFormat numberFormat, String carrierCode) argument 2011 maybeAppendFormattedExtension(PhoneNumber number, PhoneMetadata metadata, PhoneNumberFormat numberFormat, StringBuilder formattedNumber) argument [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.core.databinding_1.3.100.I20100601-0800.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
H A D | NumberFormat.java | 168 public final java.text.NumberFormat numberFormat; field in class:NumberFormat 175 this.numberFormat = delegate; 245 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); 263 return numberFormat.parse(source, parsePosition); 272 return numberFormat.format(number); 281 return numberFormat.format(number); 289 return numberFormat.format(number); 297 return numberFormat.format(number); 305 return numberFormat.format(number.toBigDecimal()); 325 StringBuffer buf = numberFormat [all...] |