toString method
Default string representation: Gregorian(year, month, ...)
.
use formatter for custom formatting.
Implementation
@override
String toString() {
return 'Gregorian($year, $month, $day, $hour, '
'$minute, $second, $millisecond)';
}