
Signature
Eric Sosman
esosman@ieee-dot-org.invalid
Philipp wrote:
>> It prints:
>> Parsed time: 01.01.70 09:03:26
>>
>> Not so instructive IMHO.
How can you say that? It is completely instructive. And why are you using
two-digit year representation?
> Look more closely at the "Parsed time" line. Also, see
> Arne Vajhøj's response.
Those were turbulent times. The /Beatles/ made their last studio appearance
the very next day, did you know that? I hadn't. Biafra was big in the news.
Diana Ross left the /Supremes/ not long after that day.
That particular day was a Thursday.

Signature
Lew
Philipp - 24 Oct 2007 15:39 GMT
> Philipp wrote:
>>> It prints:
[quoted text clipped - 3 lines]
>
> How can you say that? It is completely instructive.
Yes and No. I do see (and expected) that when I parse a time (without a
date), it is parsed as if it is that time past midnight of 1.1.1970.
My error (as explained to me by others in this thread) is not in the
parsing, which occurs correctly it seems, but in the addition of two
Date objects. The by adding two Date objects you actually add the
TimeZone twice.
I thought that
24.10.07 00:00:00 + 01.01.70 09:03:26 would result in
24.10.07 09:03:26
> And why are you
> using two-digit year representation?
That's the way DateFormat formats with a precision "DateFormat.SHORT" in
my Locale.
> Those were turbulent times. The /Beatles/ made their last studio
> appearance the very next day, did you know that? I hadn't. Biafra was
> big in the news. Diana Ross left the /Supremes/ not long after that day.
>
> That particular day was a Thursday.
And I had a few more years to wait to see the light of day... :-)
Phil