1 person found this helpful
What time zone are you in? Perhaps there was a time offset change for your area in 1967.
Good idea !
My timezone is 'Europe/Paris'.
How can I check that time offset changed between 10/29/1967 and 10/30/1967 ?
it's very rare that the actual DST offset changes (start/end dates are another
matter, at the whim of every jumped up political hack in a given country).
the latest core java JDK & latest icu4j lib both say that your dates 10/29/1967
and 10/30/1967 were both out of DST. poking around icu4j, looks like there were
5 historical changes in that tz (guessing dates), none of which affected the
actual offset, 3600000 ms.
Sounds like a bug to me. The code seems to assume that the DST takes place at the last Sunday of October, which is true now, but didn't use to be so before.
Also, try with some dates covered by this article of missing days. With a quick try, the constructor didn't seem to fix the dates.
if you mean the swap from julian to gregorian calendars, there's nothing to fix.
those days are well, history. you've wandered off into "special case land".
yes, it's probably a bug but where? JDK/JRE? OS (guessing windows)? there's been
quite a few bugs regarding tz ID mismatches between JDK/JRE & OS. maybe check
the java bug parade?
can you try another tz ID w/similar UTC offset & DST boundaries? wild guess,
maybe Central Europe Standard Time or Central European Standard Time?