hourCycle property

LocaleHourCycleKey? get hourCycle

The time keeping format convention used by the locale.

Implementation

_i3.LocaleHourCycleKey? get hourCycle => switch (_i5.getProperty(
      this,
      'hourCycle',
    )) {
      _i2.String name => _i3.LocaleHourCycleKeyOptions.values.byName(name),
      _ => null
    };
set hourCycle (LocaleHourCycleKey? value)

Implementation

set hourCycle(_i3.LocaleHourCycleKey? value) {
  _i5.setProperty(
    this,
    'hourCycle',
    value?.name ?? _i4.undefined ?? _i4.undefined,
  );
}