Sign in to follow this  
paulbird

J2ME problem: cal.get(Calendar.HOUR)

Recommended Posts

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]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this