]> source.dussan.org Git - poi.git/commitdiff
Need right date in the test formatter
authorNick Burch <nick@apache.org>
Wed, 12 Apr 2006 18:00:38 +0000 (18:00 +0000)
committerNick Burch <nick@apache.org>
Wed, 12 Apr 2006 18:00:38 +0000 (18:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393552 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hslf/record/TestComment2000.java
src/scratchpad/testcases/org/apache/poi/hslf/record/TestComment2000Atom.java

index c4fd8f83cc997359b86ac5c5114b002f5a0ebbcc..bb0462ac66b825fb99822b1ebd1e84d0012400c2 100644 (file)
@@ -84,7 +84,7 @@ public class TestComment2000 extends TestCase {
                0x0A, 00, 00, 00
                };
        
-       private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss.SSS");
+       private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
        
     public void testRecordType() throws Exception {
                Comment2000 ca = new Comment2000(data_a, 0, data_a.length);
index 0c47e30b9a5e5500f4717708fcbbaeeb6830f812..fc3661291e666398266ceec8137d4687028650f0 100644 (file)
@@ -47,7 +47,7 @@ public class TestComment2000Atom extends TestCase {
                0x0E, 00, 00, 00
                };
        
-       private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss.SSS");
+       private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
        
     public void testRecordType() throws Exception {
                Comment2000Atom ca = new Comment2000Atom(data_a, 0, data_a.length);
@@ -58,7 +58,7 @@ public class TestComment2000Atom extends TestCase {
                Comment2000Atom ca = new Comment2000Atom(data_a, 0, data_a.length);
                Comment2000Atom cb = new Comment2000Atom(data_b, 0, data_b.length);
 
-       // A is 2006-01-24 (2nd day of week) 20:26:15.205
+       // A is 2006-01-24 (2nd day of week) 10:26:15.205
                Date exp_a = sdf.parse("2006-01-24 10:26:15.205");
                // B is 2006-01-24 (2nd day of week) 21:25:03.725
                Date exp_b = sdf.parse("2006-01-24 21:25:03.725");