getTimePartAbbreviation method

String getTimePartAbbreviation(
  1. TimePart part
)

Implementation

String getTimePartAbbreviation(TimePart part) {
  switch (part) {
    case TimePart.hour:
      return timeHoursAbbreviation;
    case TimePart.minute:
      return timeMinutesAbbreviation;
    case TimePart.second:
      return timeSecondsAbbreviation;
  }
}