Java TimeZone Get getTimeZoneID()

Here you can find the source of getTimeZoneID()

Description

get Time Zone ID

License

LGPL

Declaration

public static String getTimeZoneID() 

Method Source Code

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

import java.util.*;

public class Main {
    public static String getTimeZoneID() {
        return TimeZone.getDefault().getID();
    }// ww w  .j ava  2 s .co  m
}

Related

  1. getTimeWithTimeZone(final String timezoneId)
  2. getTimeZone(Calendar cal)
  3. getTimeZone(final String ID)
  4. getTimeZoneByOffSet(String offSetInString)
  5. getTimezoneDifference(String timezone1, String timezone2)
  6. getTimeZoneIDs()
  7. getTimeZoneOffset()
  8. getTimeZoneOffset(long t)
  9. getTimezones()