Formats using an intl pattern and optional locale.
intl
pattern
locale
String format(String pattern, {String? locale}) => DateFormat(pattern, locale).format(this);