Java TimeZone Get getHostDefaultValues()

Here you can find the source of getHostDefaultValues()

Description

get Host Default Values

License

Open Source License

Declaration

static void getHostDefaultValues() 

Method Source Code

//package com.java2s;

import java.util.TimeZone;

public class Main {
    static TimeZone tz;
    static String defaultID;
    static int defaultRawOffset;

    static void getHostDefaultValues() {
        tz = TimeZone.getDefault();
        defaultID = tz.getID();//from ww w  . j  av a 2 s  . co m
        defaultRawOffset = tz.getRawOffset();
    }
}

Related

  1. getDisplayDate(Date date, TimeZone tz, Locale inLocale, int style, boolean includeTime)
  2. getDSTSavings(TimeZone tz)
  3. getDSTTime(TimeZone tz, Date date)
  4. getEnd(String date, TimeZone tz)
  5. getFilteredTimeZoneMap()
  6. getHourPart(TimeZone timeZone)
  7. getJapanTimeZone()
  8. getMediumDisplayDate(Date moment, TimeZone tz, Locale inLocale)
  9. getMicrosoftTimeZoneName(TimeZone timeZone)