×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1

    Date comparison in j2me

    Hi,
    I am facing problem in comparing 2 dates as well as finding number of days in between to dates.it will be useful if anybody can help regarding this.

  2. #2
    Nokia Developer Expert
    Join Date
    Jul 2003
    Location
    Vancouver, Canada
    Posts
    220

    Re: Date comparison in j2me

    I have moved your thread this time to the appropriate forum... Next time please read sticky http://discussion.forum.nokia.com/fo...ad.php?t=79279 and select the correct area as it is likely to mean your posts will have more views and quicker response times.

    Thanks

  3. #3
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Date comparison in j2me

    Hi,

    Here is a simple algorithm to find the numb of days btween two days.
    http://forum.java.sun.com/thread.jsp...88668&start=15

    Wang

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    22

    Exclamation Re: Date comparison in j2me

    it's quite complex.
    Cud anyone help in the datediff function.
    I would like to compare two dates.(In JavaSE, we have got SimpleDateFormat class to do)
    I have got each entity as separate(date/month/year).
    what cud be the best possible way?

    Faisal
    Last edited by faisal@aufait.in; 2009-12-15 at 08:42.

Similar Threads

  1. Date Field class in J2ME
    By yasomca in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2010-07-28, 09:09
  2. Calendar and Date format in J2ME
    By kimi007 in forum Mobile Java General
    Replies: 3
    Last Post: 2009-02-03, 22:14
  3. Date Field class in J2ME
    By yasomca in forum Mobile Java General
    Replies: 3
    Last Post: 2005-10-04, 02:23
  4. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11:25
  5. StrangeMaze 3D game benchmark - speed comparison for J2ME phones
    By abstractworlds in forum Mobile Java General
    Replies: 24
    Last Post: 2004-01-26, 22:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×