format24h method

String format24h()

Formats the time using the 24-hour clock with seconds (e.g., "13:52:05"). TimeFormat.HHmmss provides the pattern 'HH:mm:ss'.

Implementation

String format24h() => format(TimeFormat.HHmmss);