Home
last modified time | relevance | path

Searched refs:referenceDate (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatter.java68 public String formatDurationFrom(long duration, long referenceDate) {
69 String s = doFallback(duration, referenceDate);
71 Period p = doBuild(duration, referenceDate);
106 protected String doFallback(long duration, long referenceDate) {
110 return fallback.format(referenceDate + duration);
115 protected Period doBuild(long duration, long referenceDate) { in doBuild() argument
116 return builder.createWithReferenceDate(duration, referenceDate); in doBuild()
DBasicPeriodBuilderFactory.java335 public Period createWithReferenceDate(long duration, long referenceDate) { in createWithReferenceDate() argument
342 ts = handleCreate(duration, referenceDate, inPast); in createWithReferenceDate()
367 protected abstract Period handleCreate(long duration, long referenceDate,
396 protected Period handleCreate(long duration, long referenceDate,
425 protected Period handleCreate(long duration, long referenceDate,
460 protected Period handleCreate(long duration, long referenceDate,
511 protected Period handleCreate(long duration, long referenceDate,
DBasicDurationFormat.java68 public String formatDurationFrom(long duration, long referenceDate) { in formatDurationFrom() argument
69 return formatter.formatDurationFrom(duration, referenceDate); in formatDurationFrom()
DPeriodBuilder.java42 Period createWithReferenceDate(long duration, long referenceDate); in createWithReferenceDate() argument
DDurationFormatter.java59 String formatDurationFrom(long duration, long referenceDate); in formatDurationFrom() argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormatter.java69 public String formatDurationFrom(long duration, long referenceDate) {
70 String s = doFallback(duration, referenceDate);
72 Period p = doBuild(duration, referenceDate);
107 protected String doFallback(long duration, long referenceDate) {
111 return fallback.format(referenceDate + duration);
116 protected Period doBuild(long duration, long referenceDate) { in doBuild() argument
117 return builder.createWithReferenceDate(duration, referenceDate); in doBuild()
DBasicPeriodBuilderFactory.java336 public Period createWithReferenceDate(long duration, long referenceDate) { in createWithReferenceDate() argument
343 ts = handleCreate(duration, referenceDate, inPast); in createWithReferenceDate()
368 protected abstract Period handleCreate(long duration, long referenceDate,
397 protected Period handleCreate(long duration, long referenceDate,
426 protected Period handleCreate(long duration, long referenceDate,
461 protected Period handleCreate(long duration, long referenceDate,
512 protected Period handleCreate(long duration, long referenceDate,
DBasicDurationFormat.java70 public String formatDurationFrom(long duration, long referenceDate) { in formatDurationFrom() argument
71 return formatter.formatDurationFrom(duration, referenceDate); in formatDurationFrom()
DPeriodBuilder.java44 Period createWithReferenceDate(long duration, long referenceDate); in createWithReferenceDate() argument
DDurationFormatter.java61 String formatDurationFrom(long duration, long referenceDate); in formatDurationFrom() argument
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDurationFormat.java133 public abstract String formatDurationFrom(long duration, long referenceDate); in formatDurationFrom() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDurationFormat.java131 public abstract String formatDurationFrom(long duration, long referenceDate); in formatDurationFrom() argument
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java1342 Date referenceDate = null; in TestT10334() local
1344 referenceDate = format.parse(text); in TestT10334()
1353 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1360 logln(format.format(referenceDate)); in TestT10334()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java1345 Date referenceDate = null; in TestT10334() local
1347 referenceDate = format.parse(text); in TestT10334()
1356 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1363 logln(format.format(referenceDate)); in TestT10334()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java381 public String formatDurationFrom(long duration, long referenceDate) {return null;} in TestDurationFormat() argument
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java384 public String formatDurationFrom(long duration, long referenceDate) {return null;} in TestDurationFormat() argument
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp1566 UDate referenceDate = format.parse(text, status); in TestT10334() local
1572 format.format(referenceDate, formattedString, fp, status); in TestT10334()