Jump to content
  • Advertisement
Sign in to follow this  

J2ME problem: cal.get(Calendar.HOUR)

This topic is 4866 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!