format method

String format(
  1. String format
)

날짜 포맷 변경

Implementation

String format(String format) {
  return DateTime.tryParse(this)?.format(format) ?? this;
}