Home
last modified time | relevance | path

Searched refs:inPast (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java162 Period createLimited(long duration, boolean inPast) { in createLimited() argument
166 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited()
176 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited()
337 boolean inPast = duration < 0; in createWithReferenceDate()
338 if (inPast) { in createWithReferenceDate()
341 Period ts = settings.createLimited(duration, inPast); in createWithReferenceDate()
343 ts = handleCreate(duration, referenceDate, inPast); in createWithReferenceDate()
345 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast); in createWithReferenceDate()
369 boolean inPast);
398 boolean inPast) {
[all …]
DBasicDurationFormat.java115 boolean inPast = false; in formatDuration()
118 inPast = true; in formatDuration()
163 if(inPast) {// was negated, above. in formatDuration()
164 p = p.inPast(); in formatDuration()
DPeriod.java139 public Period inPast() { in inPast() method in Period
161 public Period inPast(boolean past) { in inPast() method in Period
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java161 Period createLimited(long duration, boolean inPast) { in createLimited() argument
165 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited()
175 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited()
336 boolean inPast = duration < 0; in createWithReferenceDate()
337 if (inPast) { in createWithReferenceDate()
340 Period ts = settings.createLimited(duration, inPast); in createWithReferenceDate()
342 ts = handleCreate(duration, referenceDate, inPast); in createWithReferenceDate()
344 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast); in createWithReferenceDate()
368 boolean inPast);
397 boolean inPast) {
[all …]
DBasicDurationFormat.java113 boolean inPast = false; in formatDuration()
116 inPast = true; in formatDuration()
161 if(inPast) {// was negated, above. in formatDuration()
162 p = p.inPast(); in formatDuration()
DPeriod.java137 public Period inPast() { in inPast() method in Period
159 public Period inPast(boolean past) { in inPast() method in Period
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DPeriodTest.java65 p = p.inPast(); in testFuturePast()
DLanguageTestFmwk.java363 p = p.inPast(); in testLimitedUnits()
403 p = p.inPast(); in testLimitedUnits()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DPeriodTest.java68 p = p.inPast(); in testFuturePast()
DLanguageTestFmwk.java364 p = p.inPast(); in testLimitedUnits()
404 p = p.inPast(); in testLimitedUnits()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...