| A Convertor for
java.util.Date Date objects backed by the
java.text.SimpleDateFormat SimpleDateFormat class.
It can be configured to use one of three variants: date,
time or datetime and one of four styles: long, full, medium or short.
Alternatively, a formatting pattern can be used. This can either be a locale-dependent
or locale-independent formatting pattern. When looking up a formatting pattern, a mechansim
similar to resource bundle lookup is used. Suppose the locale is nl-BE, then first a formatting
pattern for nl-BE will be sought, then one for nl, and if that is not
found, finally the locale-independent formatting pattern will be used.
Date parsing can be configured to be lenient or not by specifying a lenient
boolean attribute. By default, parsing is lenient.
version: $Id: FormattingDateConvertor.java 497095 2007-01-17 17:42:59Z bruno $ |