8284702: Add @since for java.time.LocalDate.EPOCH

Reviewed-by: rriggs, bpb, iris, darcy, naoto
This commit is contained in:
Glavo 2022-04-13 02:17:45 +00:00 committed by Yi Yang
parent 7920e8ba42
commit 5691a3b6af

View File

@ -152,6 +152,8 @@ public final class LocalDate
public static final LocalDate MAX = LocalDate.of(Year.MAX_VALUE, 12, 31);
/**
* The epoch year {@code LocalDate}, '1970-01-01'.
*
* @since 9
*/
public static final LocalDate EPOCH = LocalDate.of(1970, 1, 1);