Here you can find the source of getGMT()
public static TimeZone getGMT()
//package com.java2s; import java.util.*; public class Main { public static final String TIME_ZONE_GMT = "GMT"; public static TimeZone getGMT() { return TimeZone.getTimeZone(TIME_ZONE_GMT); }/*from w w w . j av a2s . co m*/ }