Add note about negative timestamps to migration guide (#39734)

This commit adds a note to the migration guide for 7.0 about negative
epoch timestamps no longer being supported.

closes #39375
This commit is contained in:
Ryan Ernst 2019-03-06 12:17:12 -08:00 committed by GitHub
parent 1873de5240
commit 7da62d3b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -111,3 +111,9 @@ and should be replaced.
* `getYearOfEra()` should be replaced with `get(ChronoField.YEAR_OF_ERA)`
* `toString(String)` should be replaced with a `DateTimeFormatter`
* `toString(String,Locale)` should be replaced with a `DateTimeFormatter`
[float]
==== Negative epoch timestamps are no longer supported
With the switch to java time, support for negative timestamps has been removed.
For dates before 1970, use a date format containing a year.