diff --git a/api/current.txt b/api/current.txt index fd2fb2f0598a8..d53f58c837aa1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -60574,6 +60574,7 @@ package java.util { method public boolean before(java.util.Date); method public java.lang.Object clone(); method public int compareTo(java.util.Date); + method public static java.util.Date from(java.time.Instant); method public deprecated int getDate(); method public deprecated int getDay(); method public deprecated int getHours(); @@ -60592,6 +60593,7 @@ package java.util { method public void setTime(long); method public deprecated void setYear(int); method public deprecated java.lang.String toGMTString(); + method public java.time.Instant toInstant(); method public deprecated java.lang.String toLocaleString(); } diff --git a/api/system-current.txt b/api/system-current.txt index f42e1f2c18985..41cb4f9398296 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -64174,6 +64174,7 @@ package java.util { method public boolean before(java.util.Date); method public java.lang.Object clone(); method public int compareTo(java.util.Date); + method public static java.util.Date from(java.time.Instant); method public deprecated int getDate(); method public deprecated int getDay(); method public deprecated int getHours(); @@ -64192,6 +64193,7 @@ package java.util { method public void setTime(long); method public deprecated void setYear(int); method public deprecated java.lang.String toGMTString(); + method public java.time.Instant toInstant(); method public deprecated java.lang.String toLocaleString(); } diff --git a/api/test-current.txt b/api/test-current.txt index f99e431e2cf31..4c4998e02125d 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -60665,6 +60665,7 @@ package java.util { method public boolean before(java.util.Date); method public java.lang.Object clone(); method public int compareTo(java.util.Date); + method public static java.util.Date from(java.time.Instant); method public deprecated int getDate(); method public deprecated int getDay(); method public deprecated int getHours(); @@ -60683,6 +60684,7 @@ package java.util { method public void setTime(long); method public deprecated void setYear(int); method public deprecated java.lang.String toGMTString(); + method public java.time.Instant toInstant(); method public deprecated java.lang.String toLocaleString(); }