J2ME problem: cal.get(Calendar.HOUR)

Started by
-1 comments, last by paulbird 18 years, 10 months ago
My problem is that I'm designing a simple clock MIDLET that should run on as many phones as possible. The problem is it seems that: cal.get(Calendar.HOUR) seems to give the values 0..11 on some phones (in particular the Sony Ericsson emulator) and 1..12 on other phones (such as my Nokia 3100). The J2ME help files say this should give the values 1..12. So I'm totally confused about what to do! Has anyone else encountered this problem? And what should I do? [Edited by - paulbird on May 30, 2005 3:07:07 PM]

This topic is closed to new replies.

Advertisement