Re: Timestamp/Date offset added to already localized date returned from DB

2020-05-26 Thread Julian Hyde
The trick is to think of TIMESTAMP values in the DB as zoneless. There is no timezone. UTC is not the implicit timezone. There is no timezone. Because the timezone is not stored in the database, the application needs to provide one. When you call getTimestamp(Calendar) you are saying "give me a

Timestamp/Date offset added to already localized date returned from DB

2020-05-26 Thread Ayelet Morris
Hi All, I see in TimestampAccessor and in DateAccessor that the timestamp/date received is already localized and the calendar is the same as the one defined in the configuration as localCalendar, then the code only checks if calendar exists and adds it's offset to the date. it creates an error in