/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }
/** * Allows to serialize instances such that they are deserializable with the * previous implementation. * * @return the object to be serialized * @throws ObjectStreamException never */ private Object writeReplace() throws ObjectStreamException { MailDateFormat fmt = new MailDateFormat(); fmt.superApplyPattern("EEE, d MMM yyyy HH:mm:ss 'XXXXX' (z)"); fmt.setTimeZone(getTimeZone()); return fmt; }