Java TimeZone GMT Create getGMT()

Here you can find the source of getGMT()

Description

get GMT

License

Open Source License

Declaration

public static TimeZone getGMT() 

Method Source Code


//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*/
}