Jump to content
  • Advertisement
Sign in to follow this  

J2ME problem: cal.get(Calendar.HOUR)

This topic is 4947 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!