toString abstract method

  1. @override
String toString()
override

Subclasses should implement toString

It should be SUBCLASS_NAME(year, month, day)

Note: Use formatter for formatting dates for UI

Implementation

@override
String toString();