aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/testsuite/java.util/SimpleTimeZoneTest.java
blob: 1263c212743ca015303647f21cd44d4555774102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.util.*;

public class SimpleTimeZoneTest
{
  public static void main(String args[])
    {
      try {
	SimpleTimeZone gmt = new SimpleTimeZone(0, "GMT");
	System.out.println("PASSED: timezone="+gmt.toString());
      } catch (Exception e) {
	System.out.println("FAILED: "+e);
      }
    }
}