format static method

String format(
  1. DateTime dateTime,
  2. String format
)

Implementation

static String format(DateTime dateTime, String format) {
  return DateFormat(format, 'vi').format(dateTime);
}