Here you can find the source of getDefaultID()
public static String getDefaultID()
//package com.java2s; /**//from w w w . j a va 2 s. co m * Syncnapsis Framework - Copyright (c) 2012-2014 ultimate * * This program is free software; you can redistribute it and/or modify it under the terms of * the GNU General Public License as published by the Free Software Foundation; either version * 3 of the License, or any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MECHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Plublic License along with this program; * if not, see <http://www.gnu.org/licenses/>. */ import java.util.TimeZone; public class Main { /** * Return the Default TimeZoneID (e.g. for user registration or first application visits). * * @return the default ID */ public static String getDefaultID() { return TimeZone.getDefault().getID(); } }