format static method

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

Implementation

static String format(DateTime value, String format) {
  return DateFormat(format).format(value);
}