> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: [OT] Getting a pattern from a DateFormat object > > Does anyone know if I can get the pattern for a DateFormat object?
I don't think you can, since DateFormat is abstract; there's no guarantee there's even a pattern involved. > (It looks like DateFormat.getDateInstance(DateFormat.SHORT) > actually returns a SimpleDateFormat object... anyone think > it's a bad idea to bet on that?) SimpleDateFormat is the only subclass in the JRE for DateFormat, so as long as your apps don't do their own extending of DateFormat, you should be safe. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]