https://bugs.documentfoundation.org/show_bug.cgi?id=152415

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Julien Nabet <[email protected]> ---
Just for info:
from:
https://www.ibm.com/docs/en/db2/11.5?topic=dttmddtija-date-time-timestamp-values-that-can-cause-problems-in-jdbc-sqlj-applications
"
Problems with using dates in the range October 5, 1582, through October 14,
1582

The Java java.util.Date and java.util.Timestamp classes use the Julian calendar
for dates before October 4, 1582, and the Gregorian calendar for dates starting
with October 4, 1582. In the Gregorian calendar, October 4, 1582, is followed
by October 15, 1582. If a Java program encounters a java.util.Date or
java.util.Timestamp value that is between October 5, 1582, and October 14,
1582, inclusive, Java adds 10 days to that date. Therefore, a DATE or TIMESTAMP
value in a Db2® table that has a value between October 5, 1582, and October 14,
1582, inclusive, is retrieved in a Java program as a java.util.Date or
java.util.Timestamp value between October 15, 1582, and October 24, 1582,
inclusive. A java.util.Date or java.util.Timestamp value in a Java program that
is between October 5, 1582, and October 14, 1582, inclusive, is stored in a Db2
table as a DATE or TIMESTAMP value between October 15, 1582, and October 24,
1582, inclusive."

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to