toLong method

String? toLong()

Implementation

String? toLong() {
  if (this == null) return null;
  return DateFormat.yMEd().format(this);
}