commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: AIXFTPEntryParser
Date Fri, 02 Jan 2004 23:09:45 GMT

In message <200401021303.28338.scohen@javactivity.org>, steve cohen writes:
>In looking over the source to AIXFTPEntryParser, I see the following comment, 
>apparently from the author, (bretts@bml.uk.com):

It sounds like you're already doing the detective work, so I'll leave
it to you.

>I seriously must wonder if this is a distinction between AIX and Unix or 
>whether instead what we are looking at is not a locale-specific variation in 
>how dates are rendered.  Might there be unix ftp systems in European locales 
>that show the dates as dd-MM-yyyy and AIX systems in the US that use 
>MM-dd-yyyy?  If that is the case, then the naming of these classes is 
>problematical.

It sounds like these variations can all be handled by one class.  The
locale stuff should be configurable and in the short term, the special
case of dd-MM-yyyy vis a vis MM-dd-yyyy can be handled by a modified
regular expression and an if statement or two.  If that's the only
difference between AIXFTPEntryParser and UnixFTPEntryParser, then it's
my fault for having added the code submission instead of incorporating
the functionality into UnixFTPEntryParser.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message