commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludwig Magnusson" <lud...@itcatapult.com>
Subject [Lang] Null safe date comparisson
Date Thu, 06 Jan 2011 16:31:31 GMT
Hi!

I'm looking for a way to do null safe date comparison. Something like:

 

public static boolean isBefore(Date first, Date second);

 

The method would handle null in an appropriate way.

I haven't found any method like that in DateUtils.

Is there one somewhere? 

/Ludwig

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message