Construct a new DateFormat by given locale and newPattern.
DateFormat
locale
newPattern
DateFormat constructDateFormat(Locale? locale, [String? newPattern]) { return DateFormat(newPattern, resolve(locale)); }