public static TimeZone getTimeZoneByIdIgnoreCase ( String id ) { TimeZone ret = null ; if ( timezones != null ) { id = id . toLowerCase ( ) ; for ( int i = 0 ; i < timezones . length && ret == null ; i ++ ) { if ( timezones [ i ] . getId ( ) . toLowerCase ( ) . equals ( id ) ) ret = timezones [ i ] . getTimeZone ( ) ; } } return ret ; }
Returns the cached timezone with the given ID ignoring case .