summaryrefslogtreecommitdiffstats
path: root/luni/src/test/java
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2015-04-14 13:22:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-14 13:22:05 +0000
commit0ed6c7db9f92dc3f0082328637f8550e87099b3d (patch)
tree738f020604ef6f7004367cc0e860eebb6ca9a943 /luni/src/test/java
parent3ac9db28f6db21aaecb6970f36547073b34f6983 (diff)
parentf7d3d845d1db889060262cfb7a9f73a2c4fdb7f3 (diff)
downloadlibcore-0ed6c7db9f92dc3f0082328637f8550e87099b3d.zip
libcore-0ed6c7db9f92dc3f0082328637f8550e87099b3d.tar.gz
libcore-0ed6c7db9f92dc3f0082328637f8550e87099b3d.tar.bz2
Merge "Switch DateIntervalFormat/RelativeDateTimeFormatter to ICU4J"
Diffstat (limited to 'luni/src/test/java')
-rw-r--r--luni/src/test/java/libcore/icu/DateIntervalFormatTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/luni/src/test/java/libcore/icu/DateIntervalFormatTest.java b/luni/src/test/java/libcore/icu/DateIntervalFormatTest.java
index 279f934..d49579c 100644
--- a/luni/src/test/java/libcore/icu/DateIntervalFormatTest.java
+++ b/luni/src/test/java/libcore/icu/DateIntervalFormatTest.java
@@ -143,6 +143,7 @@ public class DateIntervalFormatTest extends junit.framework.TestCase {
assertEquals("19 de ene. de 2009 – 9 de feb. de 2012", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL));
assertEquals("ene. de 2009 – feb. de 2012", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_NO_MONTH_DAY | FORMAT_ABBREV_ALL));
+
assertEquals("19 de enero de 2009–9 de febrero de 2012", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * YEAR, 0));
assertEquals("lunes, 19 de enero de 2009–jueves, 9 de febrero de 2012", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_WEEKDAY));