wrong date/time split
The following code snippet shows a badly split date:
AbsoluteDate t0 = new AbsoluteDate(2012, 6, 30, 23, 59, 59, utc); DateTimeComponents components = t0.shiftedBy(1.0 - Precision.EPSILON).getComponents(utc);
The date is just before a leap seconds introduction in 2012. As the
DateTimeComponents are extracted,
the date is considered to be already on 2012-07-01 despite it really is still in 2012-06-30, and even
still before the leap seconds introduction (so the next day will start only one second later).
Note that this bug is not related to issue #148 (closed), despite they look
similar. Here the problem occurs
before time components are built.
(from redmine: issue id 149, created on 2013-09-30, closed on 2013-09-30)