Java tutorial
//package com.java2s; import java.util.TimeZone; public class Main { /** * Returns the default time zone ID for calendar * * @return default time zone ID */ public static String getTimeZoneId() { return TimeZone.getDefault().getID(); } }