lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r616513 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java
Date Tue, 29 Jan 2008 20:46:35 GMT
Author: dnaber
Date: Tue Jan 29 12:46:33 2008
New Revision: 616513

URL: http://svn.apache.org/viewvc?rev=616513&view=rev
Log:
LUCENE-1158: DateTools UTC/GMT mismatch -> fixing the javadoc

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java?rev=616513&r1=616512&r2=616513&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java Tue Jan 29 12:46:33
2008
@@ -70,7 +70,7 @@
    * @param resolution the desired resolution, see
    *  {@link #round(Date, DateTools.Resolution)}
    * @return a string in format <code>yyyyMMddHHmmssSSS</code> or shorter,
-   *  depeding on <code>resolution</code>; using UTC as timezone 
+   *  depeding on <code>resolution</code>; using GMT as timezone 
    */
   public static String dateToString(Date date, Resolution resolution) {
     return timeToString(date.getTime(), resolution);
@@ -83,7 +83,7 @@
    * @param resolution the desired resolution, see
    *  {@link #round(long, DateTools.Resolution)}
    * @return a string in format <code>yyyyMMddHHmmssSSS</code> or shorter,
-   *  depeding on <code>resolution</code>; using UTC as timezone
+   *  depeding on <code>resolution</code>; using GMT as timezone
    */
   public static String timeToString(long time, Resolution resolution) {
     Calendar cal = Calendar.getInstance(GMT);



Mime
View raw message