Home
last modified time | relevance | path

Searched refs:icuServiceBuilder (Results 1 – 8 of 8) sorted by relevance

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DZoneFormats.java13 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in ZoneFormats
34 icuServiceBuilder.setCldrFile(cldrFile); in set()
40 SimpleDateFormat dateFormat = icuServiceBuilder.getDateFormat("gregorian", in formatGMT()
DDateTimeFormats.java116 private ICUServiceBuilder icuServiceBuilder; field in DateTimeFormats
148 icuServiceBuilder = new ICUServiceBuilder().setCldrFile(file); in set()
524icuServiceBuilder.getDateFormat(calendarID, generator.getBestPattern(mainSkeleton))); in getExample()
593 DecimalFormat format = icuServiceBuilder.getNumberFormat(0); in getRelativeExampleFromSkeleton()
625 SimpleDateFormat format = icuServiceBuilder.getDateFormat(calendarID, pattern); in getDateFormat()
1039 … String nativeValue = icuServiceBuilder.getDayPeriodValue(dayPeriodPath, "�", real); in addDayPeriods()
1041 nativeValue = icuServiceBuilder.formatDayPeriod(midPoint, nativeValue); in addDayPeriods()
DTimezoneFormatter.java161 … ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder().setCldrFile(desiredLocaleFile); in TimezoneFormatter() local
162 hourFormatPlus = icuServiceBuilder.getDateFormat("gregorian", 0, 1); in TimezoneFormatter()
164 hourFormatMinus = icuServiceBuilder.getDateFormat("gregorian", 0, 1); in TimezoneFormatter()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DBestMinimalPairSamples.java57 final private ICUServiceBuilder icuServiceBuilder; field in BestMinimalPairSamples
64 …public BestMinimalPairSamples(CLDRFile cldrFile, ICUServiceBuilder icuServiceBuilder, boolean gath… in BestMinimalPairSamples() argument
69 this.icuServiceBuilder = icuServiceBuilder; in BestMinimalPairSamples()
353 if (icuServiceBuilder != null) { in getPluralOrOrdinalSample()
357 nf = icuServiceBuilder.getNumberFormat(0); // 0 is integer, 1 is decimal in getPluralOrOrdinalSample()
359 nf = icuServiceBuilder.getNumberFormat(1); // 0 is integer, 1 is decimal in getPluralOrOrdinalSample()
DExampleGenerator.java238 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in ExampleGenerator
358 icuServiceBuilder.setCldrFile(cldrFile); in ExampleGenerator()
360 bestMinimalPairSamples = new BestMinimalPairSamples(cldrFile, icuServiceBuilder, false); in ExampleGenerator()
778 …String timeFormatString = icuServiceBuilder.formatDayPeriod(time, backgroundStartSymbol + value + … in handleDayPeriod()
895 numberFormat = icuServiceBuilder.getNumberFormat(1); in handleFormatUnit()
950 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in handleFormatPerUnit()
1001 …unit1mid = getFormattedUnit("force-newton", unitLength, oneValue, icuServiceBuilder.getNumberForma… in handleCompoundUnit()
1042 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in handleCompoundUnit1()
1096 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(0); in handleMiscPatterns()
1235 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in getFormattedUnit()
[all …]
DFlexibleDateFromCLDR.java38 private transient ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in FlexibleDateFromCLDR
78 icuServiceBuilder.setCldrFile(cldrFile); in set()
121 DateFormat df = icuServiceBuilder.getDateFormat("gregorian", pat); in showFlexibles()
DCheckNumbers.java47 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in CheckNumbers
98 icuServiceBuilder.setCldrFile(getResolvedCldrFileToCheck()); in setCldrFileToCheck()
483 DecimalFormat x = icuServiceBuilder.getCurrencyFormat("XXX"); in checkPattern()
486 DecimalFormat x = icuServiceBuilder.getNumberFormat(value); in checkPattern()
496 DecimalFormat x = icuServiceBuilder.getCurrencyFormat(CLDRFile.getCode(path)); in checkCurrencyFormats()
DCheckDates.java63 ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in CheckDates
171 icuServiceBuilder.setCldrFile(getResolvedCldrFileToCheck()); in setCldrFileToCheck()
1161 SimpleDateFormat x = icuServiceBuilder.getDateFormat(calendar, value);