Appends a localized date-time pattern to the formatter.
This appends a localized section to the builder, suitable for outputting a date, time or date-time combination. The format of the localized section is lazily looked up based on four items:
dateStylespecified to this method
timeStylespecified to this method
Chronology, selecting the best available
LONGstyles typically require a time-zone. When formatting using these styles, a
ZoneIdmust be available, either by using
During parsing, if a chronology has already been parsed, then it is used.
Otherwise the default from
is used, with
IsoChronology as the fallback.
Note that this method provides similar functionality to methods on
DateFormat such as
|the date style to use, null means no date required|
|the time style to use, null means no time required|
|if both the date and time styles are null|