add method
Add format
to this instance as a pattern.
If there was a previous pattern, then this appends to it, separating the
two by separator
. format
is first looked up in our list of
known skeletons. If it's found there, then use the corresponding pattern
for this locale. If it's not, then treat format
as an explicit
pattern.
Implementation
DateFormat add(DateFormat format, [String separator = ' ']) =>
addPattern(format.pattern, separator);