format method

String format(
  1. DateFormat dateFormat
)

Formats the DateTime to a readable String

Implementation

String format(DateFormat dateFormat) => dateFormat.format(this);