Home
last modified time | relevance | path

Searched refs:AbsoluteUnit (Results 1 – 16 of 16) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java23 import android.icu.text.RelativeDateTimeFormatter.AbsoluteUnit;
367 {Direction.NEXT_2, AbsoluteUnit.DAY, null}, in TestRelativeDateWithoutQuantity()
369 {Direction.NEXT, AbsoluteUnit.DAY, "tomorrow"}, in TestRelativeDateWithoutQuantity()
370 {Direction.NEXT, AbsoluteUnit.WEEK, "next week"}, in TestRelativeDateWithoutQuantity()
371 {Direction.NEXT, AbsoluteUnit.MONTH, "next month"}, in TestRelativeDateWithoutQuantity()
372 {Direction.NEXT, AbsoluteUnit.YEAR, "next year"}, in TestRelativeDateWithoutQuantity()
373 {Direction.NEXT, AbsoluteUnit.MONDAY, "next Monday"}, in TestRelativeDateWithoutQuantity()
374 {Direction.NEXT, AbsoluteUnit.TUESDAY, "next Tuesday"}, in TestRelativeDateWithoutQuantity()
375 {Direction.NEXT, AbsoluteUnit.WEDNESDAY, "next Wednesday"}, in TestRelativeDateWithoutQuantity()
376 {Direction.NEXT, AbsoluteUnit.THURSDAY, "next Thursday"}, in TestRelativeDateWithoutQuantity()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java22 import com.ibm.icu.text.RelativeDateTimeFormatter.AbsoluteUnit;
364 {Direction.NEXT_2, AbsoluteUnit.DAY, null}, in TestRelativeDateWithoutQuantity()
366 {Direction.NEXT, AbsoluteUnit.DAY, "tomorrow"}, in TestRelativeDateWithoutQuantity()
367 {Direction.NEXT, AbsoluteUnit.WEEK, "next week"}, in TestRelativeDateWithoutQuantity()
368 {Direction.NEXT, AbsoluteUnit.MONTH, "next month"}, in TestRelativeDateWithoutQuantity()
369 {Direction.NEXT, AbsoluteUnit.YEAR, "next year"}, in TestRelativeDateWithoutQuantity()
370 {Direction.NEXT, AbsoluteUnit.MONDAY, "next Monday"}, in TestRelativeDateWithoutQuantity()
371 {Direction.NEXT, AbsoluteUnit.TUESDAY, "next Tuesday"}, in TestRelativeDateWithoutQuantity()
372 {Direction.NEXT, AbsoluteUnit.WEDNESDAY, "next Wednesday"}, in TestRelativeDateWithoutQuantity()
373 {Direction.NEXT, AbsoluteUnit.THURSDAY, "next Thursday"}, in TestRelativeDateWithoutQuantity()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java153 public static enum AbsoluteUnit { enum in RelativeDateTimeFormatter
521 public String format(Direction direction, AbsoluteUnit unit) { in format()
522 if (unit == AbsoluteUnit.NOW && direction != Direction.PLAIN) { in format()
527 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
528 unit.ordinal() <= AbsoluteUnit.SATURDAY.ordinal())) { in format()
530 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format()
578 AbsoluteUnit absunit = AbsoluteUnit.NOW; in format()
580 case YEAR: absunit = AbsoluteUnit.YEAR; break; in format()
581 case QUARTER: absunit = AbsoluteUnit.QUARTER; break; in format()
582 case MONTH: absunit = AbsoluteUnit.MONTH; break; in format()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java167 public static enum AbsoluteUnit { enum in RelativeDateTimeFormatter
579 public String format(Direction direction, AbsoluteUnit unit) { in format()
580 if (unit == AbsoluteUnit.NOW && direction != Direction.PLAIN) { in format()
585 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
586 unit.ordinal() <= AbsoluteUnit.SATURDAY.ordinal())) { in format()
588 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format()
637 AbsoluteUnit absunit = AbsoluteUnit.NOW; in format()
639 case YEAR: absunit = AbsoluteUnit.YEAR; break; in format()
640 case QUARTER: absunit = AbsoluteUnit.QUARTER; break; in format()
641 case MONTH: absunit = AbsoluteUnit.MONTH; break; in format()
[all …]
/external/icu/icu4j/tools/build/
Dicu4j57.api3.gz12;ICU4J 57.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j54.api3.gz
Dicu4j55.api3.gz12;ICU4J 55.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz12;ICU4J 60.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j62.api3.gz
Dicu4j58.api3.gz12;ICU4J 58.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j63.api3.gz
/external/icu/icu4j/
Dcoverage-exclusion.txt961 …t/RelativeDateTimeFormatter$AbsoluteUnit#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/RelativeDat…
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...