You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2005/02/05 17:31:32 UTC
svn commit: r151509 -
jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Author: scohen
Date: Sat Feb 5 08:31:31 2005
New Revision: 151509
URL: http://svn.apache.org/viewcvs?view=rev&rev=151509
Log:
add comment illustrating value of functionality
Modified:
jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Modified: jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java?view=diff&r1=151508&r2=151509
==============================================================================
--- jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java (original)
+++ jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java Sat Feb 5 08:31:31 2005
@@ -37,6 +37,14 @@
* contains observations for more than 24 hours of data. Since the server
* has its clock set to GMT this is an excellent functional test for any
* machine in a different time zone.
+ *
+ * Noteworthy is the fact that the ftp routines in some web browsers don't
+ * work as well as this. They can't, since they have no way of knowing the
+ * server's time zone. Depending on the local machine's position relative
+ * to GMT and the time of day, the browsers may decide that a timestamp
+ * would be in the future if given the current year, so they assume the
+ * year to be last year. This illustrates the value of FTPClientConfig's
+ * time zone functionality.
*/
public class FTPClientConfigFunctionalTest extends TestCase {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org