RE: [Lang] Null safe date comparisson

2011-01-06 Thread Gary Gregory
Magnusson [mailto:lud...@itcatapult.com] Sent: Thursday, January 06, 2011 11:32 To: user@commons.apache.org Subject: [Lang] Null safe date comparisson Hi! I'm looking for a way to do null safe date comparison. Something like: public static boolean isBefore(Date first, Date second

Re: [Lang] Null safe date comparisson

2011-01-06 Thread sebb
On 6 January 2011 16:31, Ludwig Magnusson lud...@itcatapult.com wrote: 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. What do you mean by

RE: [Lang] Null safe date comparisson

2011-01-06 Thread Ludwig Magnusson
[mailto:seb...@gmail.com] Sent: den 6 januari 2011 17:39 To: Commons Users List Subject: Re: [Lang] Null safe date comparisson On 6 January 2011 16:31, Ludwig Magnusson lud...@itcatapult.com wrote: Hi! I'm looking for a way to do null safe date comparison. Something like: public static

RE: [Lang] Null safe date comparisson

2011-01-06 Thread Gary Gregory
-Original Message- From: Niall Pemberton [mailto:niall.pember...@gmail.com] Sent: Thursday, January 06, 2011 13:28 To: Commons Users List Subject: Re: [Lang] Null safe date comparisson On Thu, Jan 6, 2011 at 4:38 PM, sebb seb...@gmail.com wrote: On 6 January 2011 16:31, Ludwig

Re: [Lang] Null safe date comparisson

2011-01-06 Thread Niall Pemberton
On Thu, Jan 6, 2011 at 6:47 PM, Gary Gregory ggreg...@seagullsoftware.com wrote: -Original Message- From: Niall Pemberton [mailto:niall.pember...@gmail.com] Sent: Thursday, January 06, 2011 13:28 To: Commons Users List Subject: Re: [Lang] Null safe date comparisson On Thu, Jan 6

Re: [Lang] Null safe date comparisson

2011-01-06 Thread Niall Pemberton
On Thu, Jan 6, 2011 at 6:27 PM, Niall Pemberton niall.pember...@gmail.com wrote: On Thu, Jan 6, 2011 at 4:38 PM, sebb seb...@gmail.com wrote: On 6 January 2011 16:31, Ludwig Magnusson lud...@itcatapult.com wrote: Hi! I'm looking for a way to do null safe date comparison. Something like: