toString method

  1. @override
String toString()
override

Default string representation: Jalali(year, month, ...). use formatter for custom formatting.

Implementation

@override
String toString() {
  return 'Jalali($year, $month, $day, $hour, '
      '$minute, $second, $millisecond)';
}