tags:

views:

268

answers:

1

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?

+1  A: 

Here's the J2ME doc for TimeZone. You want to look at TimeZone.getOffeset() I believe, in order to accomplish what you have described.

Fostah