You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2008/03/01 15:37:53 UTC

Re: svn commit: r631284 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java

On 29/02/2008, Jake Harmon <ja...@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