commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1388824 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
Date Sat, 22 Sep 2012 16:07:56 GMT
Author: sebb
Date: Sat Sep 22 16:07:55 2012
New Revision: 1388824

URL: http://svn.apache.org/viewvc?rev=1388824&view=rev
Log:
LANG-799 - DateUtils#parseDate uses default locale; add Locale support
Parse German date with English Locale, specifying German Locale override

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java?rev=1388824&r1=1388823&r2=1388824&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
Sat Sep 22 16:07:55 2012
@@ -58,6 +58,7 @@ public class DateUtilsTest {
         GregorianCalendar cal = new GregorianCalendar(2000, 6, 5, 4, 3, 2);
         cal.set(Calendar.MILLISECOND, 1);
         MILLIS_TEST = cal.getTime().getTime();
+        System.out.println("DateUtilsTest: Default Locale="+Locale.getDefault());
     }
 
     DateFormat dateParser = null;



Mime
View raw message