formatTime property

String get formatTime

Implementation

String get formatTime {
  switch (this) {
    case second:
      return "HH:mm:ss dd.MM.yyyy";
    case minute:
      return "HH:mm dd.MM.yyyy";
    case hour:
      return "HH dd.MM.yyyy";
    case day:
      return "dd.MM.yyyy";
    case month:
      return "MM.yyyy";
    case year:
      return "yyyy";
  }
}