commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [1/2] [lang] LANG-1267: Add test showing that XXX does work when specifing formats
Date Mon, 19 Sep 2016 08:47:02 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master ff2672a57 -> 64d820bff


LANG-1267: Add test showing that XXX does work when specifing formats


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/bdb07461
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/bdb07461
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/bdb07461

Branch: refs/heads/master
Commit: bdb074610c87a210ea4c0d91d579cb4558f4b19f
Parents: ff2672a
Author: Benedikt Ritter <britter@apache.org>
Authored: Mon Sep 19 10:45:58 2016 +0200
Committer: Benedikt Ritter <britter@apache.org>
Committed: Mon Sep 19 10:45:58 2016 +0200

----------------------------------------------------------------------
 .../org/apache/commons/lang3/time/FastDateFormatTest.java     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/bdb07461/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
index 41fd60a..912cbe9 100644
--- a/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
@@ -319,5 +319,10 @@ public class FastDateFormatTest {
 
         dateAsString = FastDateFormat.getInstance("dd/MM/yyyy", utc, Locale.US).format(date);
         Assert.assertEquals("17/08/292278994", dateAsString);
-    }  
+    }
+
+    @Test
+    public void testLANG_1267() throws Exception {
+        FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
+    }
 }


Mime
View raw message