diff --git a/src/java/org/apache/lucene/document/DateTools.java b/src/java/org/apache/lucene/document/DateTools.java index 2aa87c78d08..3e4c1c6a757 100644 --- a/src/java/org/apache/lucene/document/DateTools.java +++ b/src/java/org/apache/lucene/document/DateTools.java @@ -70,7 +70,7 @@ public class DateTools { * @param resolution the desired resolution, see * {@link #round(Date, DateTools.Resolution)} * @return a string in format yyyyMMddHHmmssSSS or shorter, - * depeding on resolution; using UTC as timezone + * depeding on resolution; using GMT as timezone */ public static String dateToString(Date date, Resolution resolution) { return timeToString(date.getTime(), resolution); @@ -83,7 +83,7 @@ public class DateTools { * @param resolution the desired resolution, see * {@link #round(long, DateTools.Resolution)} * @return a string in format yyyyMMddHHmmssSSS or shorter, - * depeding on resolution; using UTC as timezone + * depeding on resolution; using GMT as timezone */ public static String timeToString(long time, Resolution resolution) { Calendar cal = Calendar.getInstance(GMT);