public TimeZone getTimeZone ( ) { if ( fDateFormat != null ) { // Here we clone, like other getters here, but unlike // DateFormat.getTimeZone() and Calendar.getTimeZone() // which return the TimeZone from the Calendar's zone variable return ( TimeZone ) ( fDateFormat . getTimeZone ( ) . clone ( ) ) ; } // If fDateFormat is null (unexpected), return default timezone. return TimeZone . getDefault ( ) ; }
Get the TimeZone