How can I get whether or not daylight saving time is switched on? (Because if it is on, the Calendar.HOUR_OF_DAY is (for example) 11 instead of 12.) Or should I use another way to get the hour of day?
From stackoverflow
-
Here's the J2ME doc for TimeZone. You want to look at TimeZone.getOffeset() I believe, in order to accomplish what you have described.
0 comments:
Post a Comment