diff options
Diffstat (limited to 'luni/src/test')
-rw-r--r-- | luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java b/luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java index e73104d..d228dc8 100644 --- a/luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java +++ b/luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java @@ -378,4 +378,11 @@ public class SimpleDateFormatTest extends junit.framework.TestCase { fail(); } catch (NullPointerException expected) {} } + + // http://b/17431155 + public void test_sl_dates() throws Exception { + DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, new Locale("sl")); + df.setTimeZone(TimeZone.getTimeZone("UTC")); + assertEquals("1. 1. 70", df.format(0L)); + } } |