Java TimeZone Get getTimeZone(final String ID)

Here you can find the source of getTimeZone(final String ID)

Description

get Time Zone

License

LGPL

Declaration

public static TimeZone getTimeZone(final String ID) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import java.util.*;

public class Main {
    public static TimeZone getTimeZone() {
        return TimeZone.getDefault();
    }//from  w  w  w.jav a 2s .c  o m

    public static TimeZone getTimeZone(final String ID) {
        return TimeZone.getTimeZone(ID);
    }
}

Related

  1. getTimeAsPerTimeZone(String time, String timeZOne)
  2. getTimeInCurrentDay(long now, TimeZone tz, int hour, int minute, int second, int millisecond)
  3. getTimeTry(boolean lenient, TimeZone tz, int year, int month, int day, int hour, int minute, int second, int millis)
  4. getTimeWithTimeZone(final String timezoneId)
  5. getTimeZone(Calendar cal)
  6. getTimeZoneByOffSet(String offSetInString)
  7. getTimezoneDifference(String timezone1, String timezone2)
  8. getTimeZoneID()
  9. getTimeZoneIDs()