Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4064437

Default TimeZone not set correctly on NT



      Name: rlT66838 Date: 07/14/97


      I have witten a time class for Java. When I run it on NT it always thinks it is GMT.

      Example program:

      import java.util.*;
       
      public class Foo {
         public static void main(String [] args) {
            TimeZone tz = TimeZone.getDefault();
            System.out.println(tz.getID());
         }
      }

      Output on UNIX:
      MST

      Output on NT:
      GMT


      ======================================================================

            aliusunw Alan Liu (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: