I just committed it into CVS - thanks!
On Tue, 11 Dec 2001 23:51, Bachran, Michael wrote:
> might be usefull to everyone to have this integrated in the
> LogKitManagement. So I would like to suggest patching the PatternFormatter
> like this:
>
> + import java.util.Date;
> + import java.text.SimpleDateFormat;
>
> ...
>
> protected String getTime( final long time, final String format )
> {
> + if ( format == null )
> + {
> return Long.toString( time );
> + }
>
> + SimpleDateFormat simpleDateFormat = new SimpleDateFormat( format
> ); + return( simpleDateFormat.format( new Date( time ) ) );
> }
>
>
> What do you think?
>
> Michael
--
Cheers,
Pete
------------------------------
Kitsch never goes out of style
------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>