< prev index next >

src/java.base/share/classes/java/time/chrono/ChronoLocalDate.java

Print this page
rev 12617 : [mq]: 8134356-gt-lt-in-code

@@ -713,11 +713,11 @@
      * <p>
      * This method differs from the comparison in {@link #compareTo} in that it
      * only compares the underlying date and not the chronology.
      * This allows dates in different calendar systems to be compared based
      * on the time-line position.
-     * This is equivalent to using {@code date1.toEpochDay() &gt; date2.toEpochDay()}.
+     * This is equivalent to using {@code date1.toEpochDay() > date2.toEpochDay()}.
      * <p>
      * This default implementation performs the comparison based on the epoch-day.
      *
      * @param other  the other date to compare to, not null
      * @return true if this is after the specified date

@@ -731,11 +731,11 @@
      * <p>
      * This method differs from the comparison in {@link #compareTo} in that it
      * only compares the underlying date and not the chronology.
      * This allows dates in different calendar systems to be compared based
      * on the time-line position.
-     * This is equivalent to using {@code date1.toEpochDay() &lt; date2.toEpochDay()}.
+     * This is equivalent to using {@code date1.toEpochDay() < date2.toEpochDay()}.
      * <p>
      * This default implementation performs the comparison based on the epoch-day.
      *
      * @param other  the other date to compare to, not null
      * @return true if this is before the specified date
< prev index next >