Format DateTime with the given pattern.
pattern
String format(String pattern) => DateTimePatternTokenizer.parse(pattern).format(this);