Strange thing. I have SQLite Android database with dates kept as long values. I read them as Date objects ex.:
new Date (cursor.getLong(4))
Next when displaying I convert Date objects to String with toString() method. However sometimes the displayed String contains CET and sometimes CEST.
Sure the fact that time zone info is added is not surprising. What is surprising the fact that at the same device, with values get from database in the same time, being long values thus not containing any zone time information, java sometimes add CET and sometimes CEST. Why there is such a difference?
The only difference is that long value which gives in result CEST has time equal to 00:00:00 while those giving in result CET has time different.
Any idea?