hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r232344 - in /jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util: DateParseException.java DateUtils.java
Date Fri, 12 Aug 2005 18:11:29 GMT
Author: olegk
Date: Fri Aug 12 11:11:20 2005
New Revision: 232344

URL: http://svn.apache.org/viewcvs?rev=232344&view=rev
Log:
SVN Copied from Jakarta Commons HttpClient

Added:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateParseException.java
      - copied, changed from r232229, jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateParseException.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateUtils.java
      - copied, changed from r232229, jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateUtil.java

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateParseException.java
(from r232229, jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateParseException.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateParseException.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateParseException.java&p1=jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateParseException.java&r1=232229&r2=232344&rev=232344&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateParseException.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateParseException.java
Fri Aug 12 11:11:20 2005
@@ -1,5 +1,5 @@
 /*
- * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/util/DateParseException.java,v
1.5 2004/11/06 19:15:42 mbecke Exp $
+ * $HeadURL$
  * $Revision$
  * $Date$
  *
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.commons.httpclient.util;
+package org.apache.http.util;
 
 
 /**
@@ -39,6 +39,8 @@
  */
 public class DateParseException extends Exception {
 
+    static final long serialVersionUID = 4417696455000643370L;
+    
     /**
      * 
      */

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateUtils.java
(from r232229, jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateUtil.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateUtils.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateUtils.java&p1=jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateUtil.java&r1=232229&r2=232344&rev=232344&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/DateUtil.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/DateUtils.java Fri
Aug 12 11:11:20 2005
@@ -1,5 +1,5 @@
 /*
- * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/util/DateUtil.java,v
1.2 2004/12/24 20:36:13 olegk Exp $
+ * $HeadURL$
  * $Revision$
  * $Date$
  *
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.commons.httpclient.util;
+package org.apache.http.util;
 
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
@@ -47,7 +47,7 @@
  * @author Christopher Brown
  * @author Michael Becke
  */
-public class DateUtil {
+public class DateUtils {
 
     /**
      * Date format pattern used to parse HTTP date headers in RFC 1123 format.
@@ -76,7 +76,7 @@
         DEFAULT_TWO_DIGIT_YEAR_START = calendar.getTime(); 
     }
     
-    private static final TimeZone GMT = TimeZone.getTimeZone("GMT");
+    public static final TimeZone GMT = TimeZone.getTimeZone("GMT");
     
     /**
      * Parses a date value.  The formats used for parsing the date value are retrieved from
@@ -204,6 +204,6 @@
     }
     
     /** This class should not be instantiated. */    
-    private DateUtil() { }
+    private DateUtils() { }
     
 }



Mime
View raw message