timeOfDayFormat method
- @override
override
The TimeOfDayFormat corresponding to one of the following supported patterns:
HH:mm
HH.mm
HH 'h' mm
HH:mm น.
H:mm
h:mm a
a h:mm
ah:mm
See also:
- demo.icu-project.org/icu-bin/locexp?d_=en&_=en_US, which shows
the short time pattern used in the
en_US
locale.
Implementation
@override
TimeOfDayFormat timeOfDayFormat({ bool alwaysUse24HourFormat = false }) {
assert(alwaysUse24HourFormat != null);
if (alwaysUse24HourFormat)
return _get24HourVersionOf(timeOfDayFormatRaw);
return timeOfDayFormatRaw;
}