commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r631284 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java
Date Sat, 01 Mar 2008 14:37:53 GMT
On 29/02/2008, Jake Harmon <jacob.harmon@gfigroup.com> wrote:
>
>  I don't think this will work, because in Jan 2009, if you get a file from Feb
>  29 and try to parse it using the current year, it will also fail.

I don't think this can happen unless the remote system clock is wrong.

The remote file obviously cannot be Feb 29, 2009, nor can it be Feb
29, 2008, because that  is more than 6 months before Jan 2009. I.e.
*nix systems would display the year rather than the time.

Of course if the remote system thinks the time is Feb 29, 2008 +/- 6
months, then it will display the file details without a year.

> --
>  View this message in context: http://www.nabble.com/svn-commit%3A-r631284----commons-proper-net-branches-NET_2_0-src-main-java-org-apache-commons-net-ftp-parser-FTPTimestampParserImpl.java-tp15694399p15766239.html
>  Sent from the Commons - Dev mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Mime
View raw message