I am getting these compile errors when compiling with 1.3. The getOffset(long) method is not supported in jdk 1.3:

[javac] F:\development\code-svn-apache-projects\logging-log4j\tests\src\java\org\apache\log4j\helpers\DateLayoutTest
.java:239: cannot resolve symbol
   [javac] symbol  : method getOffset  (int)
   [javac] location: class java.util.TimeZone
[javac] String actual = format.format(new Date(-TimeZone.getDefault().getOffset(0))); [javac] ^ [javac] F:\development\code-svn-apache-projects\logging-log4j\tests\src\java\org\apache\log4j\helpers\DateLayoutTest
.java:249: cannot resolve symbol
   [javac] symbol  : method getOffset  (int)
   [javac] location: class java.util.TimeZone
[javac] String actual = format.format(new Date(-TimeZone.getDefault().getOffset(0)));

Can we use the old getOffset with all the values set for 1/1/1970?

-Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to