Searched refs:FORMAT_SHOW_DATE (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/icu/ |
D | DateIntervalFormatTest.java | 62 …9", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE)); in test_formatDateInterval() 77 …teRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 78 …teRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 103 …, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 108 …2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * MONTH, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 112 … 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 120 …. 2009", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 125 …2009", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * MONTH, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 129 … 2012", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() 137 …e 2009", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_DATE | FORMAT_ABBR… in test_formatDateInterval() [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateUtilsBridge.java | 36 public static final int FORMAT_SHOW_DATE = 0x00010; field in DateUtilsBridge 108 flags |= FORMAT_SHOW_DATE; in toSkeleton() 116 if ((flags & (FORMAT_SHOW_DATE | FORMAT_SHOW_TIME | FORMAT_SHOW_WEEKDAY)) == 0) { in toSkeleton() 117 flags |= FORMAT_SHOW_DATE; in toSkeleton() 121 if ((flags & FORMAT_SHOW_DATE) != 0) { in toSkeleton() 132 if ((flags & (FORMAT_SHOW_DATE | FORMAT_NO_MONTH_DAY)) != 0) { in toSkeleton()
|
D | RelativeDateTimeFormatter.java | 31 import static libcore.icu.DateUtilsBridge.FORMAT_SHOW_DATE; 305 flags = FORMAT_SHOW_DATE | FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE; in getRelativeDateTimeString() 308 flags = FORMAT_SHOW_DATE | FORMAT_NO_YEAR | FORMAT_ABBREV_MONTH; in getRelativeDateTimeString()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | DateIntervalFormatBenchmark.java | 29 int flags = FORMAT_SHOW_DATE | FORMAT_SHOW_WEEKDAY; in timeDateIntervalFormat_formatDateRange_DATE() 49 int flags = FORMAT_SHOW_DATE | FORMAT_SHOW_WEEKDAY | FORMAT_SHOW_TIME | FORMAT_24HOUR; in timeDateIntervalFormat_formatDateRange_DATE_TIME()
|