My Time Zone is Central European Summer Time according to my tablet on which I run Garmin’s Connect App.
This is +2 hour from GMT now, but +1 in the winter.
On the simulator System.getClockTime().dst is 3600 seconds as it should, but on my vivoactive3 watch System.getClockTime().dst is 0.
getClockTime().timeZoneOffset is in both cases 7200 so for today it gives the right local time, but when I try to convert a winter time unixtime value to local time, the time is +2 GMT instead of +1 as it should.
On the simulator the right local time it given.
Gregorian.info(new Time.Moment(1583843230), Time.FORMAT_MEDIUM).hour gives on my watch 14 instead of 13 is it gives on the simulator.
I have uploaded the source of a test program.