Android examples for java.util:Timezone
is In Eastern Eighth Time Zone
import java.util.TimeZone; public class Main { public static boolean isInEasternEightZones() { boolean defaultVaule = true; if (TimeZone.getDefault() == TimeZone.getTimeZone("GMT+08")) defaultVaule = true;/* w w w . j av a 2s. c om*/ else defaultVaule = false; return defaultVaule; } }