Java TimeZone Usage stringToTimeZone(String tzString)

Here you can find the source of stringToTimeZone(String tzString)

Description

string To Time Zone

License

Apache License

Declaration

public static TimeZone stringToTimeZone(String tzString) 

Method Source Code

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

import java.util.TimeZone;

public class Main {
    public static TimeZone stringToTimeZone(String tzString) {

        return TimeZone.getTimeZone(tzString != null ? tzString : "");
    }//from w  w  w .  java2 s.co m
}

Related

  1. offset(long time)
  2. parseBackendTimeZone(String timeZone)
  3. runInTimeZone(TimeZone timeZone, Runnable action)
  4. serializeTimeZone(TimeZone timeZone)
  5. setBelarusTimeZone()
  6. timeZone(String timeZoneEntry)
  7. timeZoneForCode(String timeZoneCode)
  8. toDay(long millis)
  9. tzOffsetToQ(final long dt)