Closed swcumt closed 8 years ago
The serialize of Date is this out.writeLong(((Date)toWrite).getTime()); if deserialize with different time zones the date is change....
out.writeLong(((Date)toWrite).getTime());
This is correct behaviour. Timezone is not part of a Date, its involved when printing/formatting only. I recommend reading about how timezones and dates work
The serialize of Date is this
out.writeLong(((Date)toWrite).getTime());
if deserialize with different time zones the date is change....