Format method

String Format(
  1. String format, [
  2. String? locale
])

Implementation

String Format(String format, [String? locale]) {
  return DateFormat(format,locale).format(this);
}