Closed GoogleCodeExporter closed 9 years ago
Also, the format is optional, defaults to "m/d/Y". So could you add a
Format.date
with only 1 argument?
Original comment by mathias....@gmail.com
on 26 Jul 2007 at 7:36
The Format class has String oriented functions. Please use DateUtil for untility
functions for the Date data type. For example DateUtil#format
I've added the convenience method Format.date(String dataStr) where format
defaults
to "m/d/Y" but the preferred API would be to use DateUtil.format with an
explicit
format. Just declare a default date format constant in your class and use that
when
carrying out Date formatting options.
Original comment by sanjiv.j...@gmail.com
on 26 Jul 2007 at 10:58
Original issue reported on code.google.com by
mathias....@gmail.com
on 26 Jul 2007 at 7:30