Time now = new Time(); now.setToNow(); return "Time = ["+String.valueOf(now)+"]\n";
this is the result
Time = [20131020T185424Asia/Bangkok(0,292,25200,0,1382270064)] 2013 = year 10 = month 20 = day 18 = hr 54 = min 24 = sec
What does (0,292,25200,0,1382270064) mean?
I also read this but still have no idea.
- 0 is the weekDay
- 292 is yearDay
- 25200 is gmtoff which is the the offset in seconds between the timezone of time and UTC.
- 0 is the isDGT field, which is Daylight Saving Time
You can see the class source code for more help