commons-dev mailing list archives

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

In message <>, steve cohen writes:
>In looking over the source to AIXFTPEntryParser, I see the following comment, 
>apparently from the author, (

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 

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message