Java TimeZone Get getRawOffset(String timeZoneStr)

Here you can find the source of getRawOffset(String timeZoneStr)

Description

get Raw Offset

License

Apache License

Declaration

public static long getRawOffset(String timeZoneStr) 

Method Source Code

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

import java.util.TimeZone;

public class Main {
    public static long getRawOffset(String timeZoneStr) {
        return TimeZone.getTimeZone(timeZoneStr).getRawOffset();
    }/*  w w w .  j  av  a 2  s.  c om*/
}

Related

  1. getMillis(TimeZone tz, int year, int month, int day, int hour, int minute, int second, int millis)
  2. getMoscowCalendar()
  3. getMoscowTimeZone()
  4. getNextHour(final String timezone)
  5. getPossibleUserTimezoneList(int userOffsetInHours)
  6. getRawOffsetDifference(TimeZone from, TimeZone to)
  7. getServerTimezoneOffset()
  8. getTime(boolean lenient, TimeZone tz, int year, int month, int day, int hour, int minute, int second, boolean setMillis, int nano)
  9. getTime(final String time, final TimeZone tz)