Code example for TimeZone

Methods: getID

0
        return 0; 
    } 
 
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(datetime.getTime());
        dest.writeString(timezone.getID());
    } 
 
    public static final Parcelable.Creator<GADateTime> CREATOR = new Parcelable.Creator<GADateTime>() {  
        public GADateTime createFromParcel(Parcel in) {   
            return new GADateTime(in); 
        } 
 
        public GADateTime[] newArray(int size) {   
            return new GADateTime[size];   
        }   
    };   
}