Steve Cohen wrote:

All this setting would go on as setters on a factory class that the user would not have to use. If they didn't setLocale, en_US would be the default. If they setLocale but not either date recent or older date format, then the standard US ordering would be used but the Locale month names. If they specified Locale and older date format, we could infer the newer date format as well. And if they specified everything, we could handle that case too.


At least could you please implement this by passing in a e.g. FTPDateObject as you stated in one of your previous mails.

This sould have a method like
Date FTPDateObject.parse(String datepart)
or something else.

That way one is able to pass in a completely different sort of date parses - like the one i have in mind - which is able to automatically determine the right month without have to set any locale (as long as the date parts are in correct order)

---
Mario

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to