Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateCldrDateTimeTests.java44 ICUServiceBuilder icuServiceBuilder; field in GenerateCldrDateTimeTests
48 icuServiceBuilder = new ICUServiceBuilder(); in GenerateCldrDateTimeTests()
205 return icuServiceBuilder; in getICUServiceBuilder()
DGenerateCldrTests.java272 ICUServiceBuilder icuServiceBuilder; field in GenerateCldrTests
320 icuServiceBuilder = new ICUServiceBuilder(); in generate()
739 icuServiceBuilder.setCldrFile(cldrFile);
754 DateFormat df = icuServiceBuilder.getDateFormat("gregorian", i, k);
762 + icuServiceBuilder.getDateNames(i) + ", time "
763 + icuServiceBuilder.getDateNames(k) + " = "
782 icuServiceBuilder.setCldrFile(cldrFile);
792 rp.set("numberType", icuServiceBuilder.getNumberNames(i));
793 DecimalFormat nf = icuServiceBuilder.getNumberFormat(i);
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java165 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in ExampleGenerator
243 icuServiceBuilder.setCldrFile(cldrFile); in ExampleGenerator()
564 …String timeFormatString = icuServiceBuilder.formatDayPeriod(time, backgroundStartSymbol + value + … in handleDayPeriod()
579 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in handleFormatUnit()
635 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(0); in handleMiscPatterns()
770 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(1); in getFormattedUnit()
880 … SimpleDateFormat sdf = icuServiceBuilder.getDateFormat(calendar, 0, DateFormat.MEDIUM, null); in handleAppendItems()
927 firstFormat = icuServiceBuilder.getDateFormat(calendar, first.toString()); in setPattern()
930 secondFormat = icuServiceBuilder.getDateFormat(calendar, second.toString()); in setPattern()
939 DateFormat df = this.icuServiceBuilder.getDateFormat("gregorian", value.replace('h', 'H')); in handleDurationUnit()
[all …]
DFlexibleDateFromCLDR.java39 private transient ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in FlexibleDateFromCLDR
79 icuServiceBuilder.setCldrFile(cldrFile); in set()
122 DateFormat df = icuServiceBuilder.getDateFormat("gregorian", pat); in showFlexibles()
DCheckNumbers.java42 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in CheckNumbers
89 icuServiceBuilder.setCldrFile(getResolvedCldrFileToCheck()); in setCldrFileToCheck()
411 DecimalFormat x = icuServiceBuilder.getCurrencyFormat("XXX"); in checkPattern()
414 DecimalFormat x = icuServiceBuilder.getNumberFormat(value); in checkPattern()
424 DecimalFormat x = icuServiceBuilder.getCurrencyFormat(CLDRFile.getCode(path)); in checkCurrencyFormats()
DCheckDates.java61 ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in CheckDates
163 icuServiceBuilder.setCldrFile(getResolvedCldrFileToCheck()); in setCldrFileToCheck()
1194 SimpleDateFormat x = icuServiceBuilder.getDateFormat(calendar, value);
/external/cldr/tools/java/org/unicode/cldr/util/
DDateTimeFormats.java97 private ICUServiceBuilder icuServiceBuilder; field in DateTimeFormats
129 icuServiceBuilder = new ICUServiceBuilder().setCldrFile(file); in set()
502icuServiceBuilder.getDateFormat(calendarID, generator.getBestPattern(mainSkeleton))); in getExample()
571 DecimalFormat format = icuServiceBuilder.getNumberFormat(0); in getRelativeExampleFromSkeleton()
603 SimpleDateFormat format = icuServiceBuilder.getDateFormat(calendarID, pattern); in getDateFormat()
1012 … String nativeValue = icuServiceBuilder.getDayPeriodValue(dayPeriodPath, "�", real); in addDayPeriods()
1014 nativeValue = icuServiceBuilder.formatDayPeriod(midPoint, nativeValue); in addDayPeriods()
DVerifyZones.java77 private ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder(); field in VerifyZones.ZoneFormats
97 icuServiceBuilder.setCldrFile(cldrFile); in set()
103 SimpleDateFormat dateFormat = icuServiceBuilder.getDateFormat("gregorian", in formatGMT()
DTimezoneFormatter.java158 … ICUServiceBuilder icuServiceBuilder = new ICUServiceBuilder().setCldrFile(desiredLocaleFile); in TimezoneFormatter() local
159 hourFormatPlus = icuServiceBuilder.getDateFormat("gregorian", 0, 1); in TimezoneFormatter()
161 hourFormatMinus = icuServiceBuilder.getDateFormat("gregorian", 0, 1); in TimezoneFormatter()