commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simone.trip...@gmail.com>
Subject Re: Null safe dateformat?
Date Tue, 12 Jan 2010 09:43:37 GMT
Hi Ludwig,
I suggest you to include, between square brackets, the commons
component name, which you are interested, in the mail subject,
otherwise people can get confused and not able to reply properly.
Have a nice day,
Simo

On Tue, Jan 12, 2010 at 10:28 AM, Ludwig Magnusson
<ludwig@itcatapult.com> wrote:
> Hi!
>
> 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..
>
> /Ludwig
>
>



-- 
http://people.apache.org/~simonetripodi/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message