BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

Link 739189 thumbnail
User 884233 avatar

By screener
via javarevisited.blogspot.com
Published: Feb 04 2012 / 09:38

3 simple example to convert two dates in Java and find out whether one date is before, after or in between two dates.
  • 7
  • 1
  • 1699
  • 854

Comments

Add your comment
User 226303 avatar

devdanke replied ago:

0 votes Vote down Vote up Reply

If you have a choice, prefer the Joda Time date-time library over Java's Date/Calendar classes. The Java Date/Calendar classes are considered, by many, to be one of the worst parts of Java's standard library. The Joda Time library is simpler, more elegant, and easier to use.

http://joda-time.sourceforge.net/

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (1)