[kaffe] CVS kaffe (noa): tests/regression/DateFormatTest.java: Test with a constant date

Kaffe CVS cvs-commits at kaffe.org
Thu Nov 4 11:48:07 PST 2004


PatchSet 5398 
Date: 2004/11/04 19:43:31
Author: noa
Branch: HEAD
Tag: (none) 
Log:
2004-11-04  Noa Resare  <noa at resare.com>

        * tests/regression/DateFormatTest.java: Test with a constant date
        inside the DST range to trigger DST bugs.

Members: 
	ChangeLog:1.2947->1.2948 
	test/regression/DateFormatTest.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2947 kaffe/ChangeLog:1.2948
--- kaffe/ChangeLog:1.2947	Wed Nov  3 19:25:49 2004
+++ kaffe/ChangeLog	Thu Nov  4 19:43:31 2004
@@ -1,3 +1,8 @@
+2004-11-04  Noa Resare  <noa at resare.com>
+
+	* tests/regression/DateFormatTest.java: Test with a constant date
+        inside the DST range to trigger DST bugs.
+
 2004-11-02  Eric Anholt  <eta at lclark.edu>
 
 	* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c,
Index: kaffe/test/regression/DateFormatTest.java
diff -u kaffe/test/regression/DateFormatTest.java:1.2 kaffe/test/regression/DateFormatTest.java:1.3
--- kaffe/test/regression/DateFormatTest.java:1.2	Wed May  5 23:01:20 2004
+++ kaffe/test/regression/DateFormatTest.java	Thu Nov  4 19:43:33 2004
@@ -16,7 +16,7 @@
 
 	System.out.println("Same time zone");
 	sdf = new SimpleDateFormat("yyMMddHHmmssSSS");
-	date = new Date();
+	date = new Date(1098968427000L); // 04-10-28 14:00:27 GMT+00:00
 	str = sdf.format(date);
 
 	try {




More information about the kaffe mailing list