There are many problems with the Calendar classes in JDK 1.1.7, and they are
not specific to Linux. As Chris Abbey has suggested, you can sometimes work
around them by setting the user.timezone property - however for many timezones
(New Zealand and Australian ones, for example), it will still scre
I have the /etc/localtime link to /usr/share/zoneinfo/Asia/Taipei,
which is reported as CST under date command and the offset is GMT+8
(uh...confilict with /usr/share/zoneinfo/US/Central ??).
The GMT+8 is the TimeZone CTT. I'm so confused why the zoneinfo are different
under OS and java.
One more
You two got me curious... on my linux 117_v1a the system is set to CST via
/etc/localtime -> ../usr/share/zoneinfo/US/Central and `date` returns times
in CDT as expected... (three weeks ago it returned CST as expected) HOWEVER
user.timezone is always EST when I start java, and System.out.println(n
Hello all,
I have a question about the timezone settings:
My Linux box is using local CST time, but the java.lang.Calendar or
java.lang.Date always report CDT...
Here is my program:
import java.lang.*;
import java.util.*;
public class TestCal {
public static void