commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludwig Magnusson" <>
Subject Null safe dateformat?
Date Tue, 12 Jan 2010 09:28:40 GMT

Commons is famous for its null-safe methods, but are there no null safe
dateFormat methods?

I'm looking for something that looks like DateformatClass.format(date,
formatString) that returns an empty string or null (but at least does not
throw an exception) if the date is null.


I looked at DateFormatUtils but it doesn't seem to work like that..


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