Code example for TimeZone

Methods: getID

0
     *  
     * @param timeZone 
     */ 
    public void setTimeZone(TimeZone timeZone) {
		this.mTimeZone = timeZone;
		this.mCalendar = new Time(timeZone.getID());
		this.mCalendar.set(System.currentTimeMillis());
		timeChangeHandler.handleTimeChange(mCalendar);
    } 
     
    public interface OnTimeChangeListener { 
    	public void handleTimeChange(Time now);
    } 
}