diff --git a/api/current.txt b/api/current.txt index 343dd008e7188..b719395137e0d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -60578,6 +60578,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(); @@ -60596,6 +60597,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 920780ff2f39a..8ed9af7e24be7 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -64178,6 +64178,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(); @@ -64196,6 +64197,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 b72ba1b5b7449..c288d6465a42c 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -60669,6 +60669,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(); @@ -60687,6 +60688,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(); }