commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: [lang] new token for FastDateFormat
Date Wed, 26 Jan 2005 22:30:42 GMT
Damn. I'd thought that this class would be new in 2.1. That's a pain.

Given that a formatting pattern is a String, I'm sure you can see many
reasons why solutions that involve coding bits of Java are bad :)

Hen

On Tue, 25 Jan 2005 08:06:46 +0800, Brett Porter <brett@apache.org> wrote:
> Last time I checked, Long.toString(date.getTime()) did that anyway, and in less
> characters :)
> 
> Cheers,
> Brett
> 
> Quoting Stephen Colebourne <scolebourne@btopenworld.com>:
> 
> > Adding any token would be a backwards incompatible change, as it would
> > previously have been output as text.
> >
> > Why not just have a DateUtils.getMillisAsText(Date) method? (Well maybe
> > because it seems like a very odd case.....)
> >
> > Stephen
> >
> >
> > ----- Original Message -----
> > From: "Henri Yandell" <flamefew@gmail.com>
> > >I just noticed that there's no way to output the milliseconds since
> > > 1970 with SimpleDateFormat (or with FastDateFormat). Any interest in
> > > having a token for FastDateFormat that lets you do that?
> > >
> > > Hen
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
>

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


Mime
View raw message