Java TimeZone To timeZoneToString(TimeZone tz)

Here you can find the source of timeZoneToString(TimeZone tz)

Description

time Zone To String

License

Apache License

Declaration

public static String timeZoneToString(TimeZone tz) 

Method Source Code

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

import java.util.TimeZone;

public class Main {
    public static String timeZoneToString(TimeZone tz) {

        return tz != null ? tz.getID() : "";
    }//from  ww  w . ja  v  a 2  s . c o m
}

Related

  1. createTimeZoneFromDouble(double timeZoneOffsetInHours)
  2. extractTimeZone(String strdate, Date thedate)
  3. parseTimeZoneString(String timeZoneString)
  4. setTimeZone(String name)
  5. timeZoneToCode(TimeZone tz)
  6. toLocalTZ(Date time, TimeZone localTimeZone)