question: public void writeTo ( String zoneID , OutputStream out ) throws IOException { if ( out instanceof DataOutput ) { writeTo ( zoneID , ( DataOutput ) out ) ; } else { writeTo ( zoneID , ( DataOutput ) new DataOutputStream ( out ) ) ; } }
target:  Encodes a built DateTimeZone to the given stream. Call readFrom to decode the data into a DateTimeZone object.