toString method

  1. @override
String toString()
override

Implementation

@override
String toString() {
  return "$dayName-$day-$monthName-$year";
}