Java TimeZone Usage serializeTimeZone(TimeZone timeZone)

Here you can find the source of serializeTimeZone(TimeZone timeZone)

Description

Serialize a TimeZone .

License

Open Source License

Declaration

public static String serializeTimeZone(TimeZone timeZone) 

Method Source Code

//package com.java2s;

import java.util.TimeZone;

public class Main {
    /**/*  w  ww.  ja v  a2  s.com*/
     * Serialize a {@link TimeZone}.
     *
     * @see #deserializeTimeZone
     */
    public static String serializeTimeZone(TimeZone timeZone) {
        return timeZone.getID();
    }
}

Related

  1. localTimeZoneString()
  2. mergeTime(Calendar date, Date time)
  3. offset(long time)
  4. parseBackendTimeZone(String timeZone)
  5. runInTimeZone(TimeZone timeZone, Runnable action)
  6. setBelarusTimeZone()
  7. stringToTimeZone(String tzString)
  8. timeZone(String timeZoneEntry)
  9. timeZoneForCode(String timeZoneCode)