Home
last modified time | relevance | path

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

/external/cldr/tools/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/java/org/unicode/cldr/test/
DExampleGenerator.java182 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in ExampleGenerator
275 icuServiceBuilder.setCldrFile(cldrFile); in ExampleGenerator()
587 …String timeFormatString = icuServiceBuilder.formatDayPeriod(time, backgroundStartSymbol + value + … in handleDayPeriod()
608 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in handleFormatUnit()
629 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in handleFormatPerUnit()
680 …unit1mid = getFormattedUnit("force-newton", unitLength, oneValue, icuServiceBuilder.getNumberForma… in handleCompoundUnit()
721 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in handleCompoundUnit1()
775 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(0); in handleMiscPatterns()
937 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in getFormattedUnit()
1053 … SimpleDateFormat sdf = icuServiceBuilder.getDateFormat(calendar, 0, DateFormat.MEDIUM, null); in handleAppendItems()
[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.java45 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in CheckNumbers
96 icuServiceBuilder.setCldrFile(getResolvedCldrFileToCheck()); in setCldrFileToCheck()
470 DecimalFormat x = icuServiceBuilder.getCurrencyFormat("XXX"); in checkPattern()
473 DecimalFormat x = icuServiceBuilder.getNumberFormat(value); in checkPattern()
483 DecimalFormat x = icuServiceBuilder.getCurrencyFormat(CLDRFile.getCode(path)); in checkCurrencyFormats()
DCheckDates.java61 ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in CheckDates
163 icuServiceBuilder.setCldrFile(getResolvedCldrFileToCheck()); in setCldrFileToCheck()
1116 SimpleDateFormat x = icuServiceBuilder.getDateFormat(calendar, value);