hourStyleExtensionString property

String get hourStyleExtensionString

Implementation

String get hourStyleExtensionString {
  // The three possible values are h11, h12, and h23.
  return switch (this) {
    ClockStyle.zeroToEleven => 'h11',
    ClockStyle.oneToTwelve => 'h12',
    ClockStyle.zeroToTwentyThree => 'h23',
  };
}