In windows95 Japanese, java is one hour too fast.
I've first thought this is just TimeZone instance, but testing following
case shows more severe problem.
Run the following program.
Program : DateTime.java
--------------------------------------------------------------------------
import java.util.Date;
import java.util.TimeZone;
public class DateTime {
public static void main(String[] arg) {
Date now = new Date();
System.out.println(now);
System.out.println(TimeZone.getDefault().getID());
}
}
--------------------------------------------------------------------------
Result at 14:10
--------------------------------------------------------------------------
1998/06/16 15:10:24 GMT+10:00 1998
Asia/Yakutsk
--------------------------------------------------------------------------
Above line of result show one hour forward. Notice that JST(Japan Standard Time) is GMT+9:00.
The next line, 'Yakutsk' is Russian City. This should be like 'Asia/Tokyo'.
When I use DateFormat for formating, result is same.