8133939: javadoc clarification for java.sql.Date.toLocalDate

Reviewed-by: joehw
This commit is contained in:
Lance Andersen 2015-08-25 13:40:07 -04:00
parent 9073b652b3
commit 791d62a37e

View File

@ -295,11 +295,8 @@ public class Date extends java.util.Date {
}
/**
* Converts this {@code Date} object to a {@code LocalDate}
* <p>
* The conversion creates a {@code LocalDate} that represents the same
* date value as this {@code Date} in local time zone
*
* Creates a {@code LocalDate} instance using the year, month and day
* from this {@code Date} object.
* @return a {@code LocalDate} object representing the same date value
*
* @since 1.8