commons-user mailing list archives

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

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? 



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