commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: [lang] new token for FastDateFormat
Date Tue, 25 Jan 2005 00:06:46 GMT
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


Mime
View raw message