format12h method

String format12h()

Formats the time using the 12-hour clock with AM/PM (e.g., "01:52 PM"). TimeFormat.hhmma provides the pattern 'hh:mm a'.

Implementation

String format12h() => format(TimeFormat.hhmma);