ResolvedDateTimeFormatOptions constructor

ResolvedDateTimeFormatOptions({
  1. String? locale,
  2. String? calendar,
  3. String? numberingSystem,
  4. String? timeZone,
  5. bool? hour12,
  6. String? weekday,
  7. String? era,
  8. String? year,
  9. String? month,
  10. String? day,
  11. String? hour,
  12. String? minute,
  13. String? second,
  14. String? timeZoneName,
  15. ResolvedDateTimeFormatOptionsFormatMatcherOptions? formatMatcher,
  16. ResolvedDateTimeFormatOptionsDateStyleOptions? dateStyle,
  17. ResolvedDateTimeFormatOptionsTimeStyleOptions? timeStyle,
  18. HourCycleOptions? hourCycle,
  19. ResolvedDateTimeFormatOptionsDayPeriodOptions? dayPeriod,
  20. FractionalSecondDigitsOptions? fractionalSecondDigits,
})

Implementation

factory ResolvedDateTimeFormatOptions({
  _i2.String? locale,
  _i2.String? calendar,
  _i2.String? numberingSystem,
  _i2.String? timeZone,
  _i2.bool? hour12,
  _i2.String? weekday,
  _i2.String? era,
  _i2.String? year,
  _i2.String? month,
  _i2.String? day,
  _i2.String? hour,
  _i2.String? minute,
  _i2.String? second,
  _i2.String? timeZoneName,
  _i3.ResolvedDateTimeFormatOptionsFormatMatcherOptions? formatMatcher,
  _i3.ResolvedDateTimeFormatOptionsDateStyleOptions? dateStyle,
  _i3.ResolvedDateTimeFormatOptionsTimeStyleOptions? timeStyle,
  _i3.HourCycleOptions? hourCycle,
  _i3.ResolvedDateTimeFormatOptionsDayPeriodOptions? dayPeriod,
  _i3.FractionalSecondDigitsOptions? fractionalSecondDigits,
}) =>
    ResolvedDateTimeFormatOptions._(
      locale: locale,
      calendar: calendar,
      numberingSystem: numberingSystem,
      timeZone: timeZone,
      hour12: hour12,
      weekday: weekday,
      era: era,
      year: year,
      month: month,
      day: day,
      hour: hour,
      minute: minute,
      second: second,
      timeZoneName: timeZoneName,
      formatMatcher: formatMatcher?.name ?? _i4.undefined,
      dateStyle: dateStyle?.name ?? _i4.undefined,
      timeStyle: timeStyle?.name ?? _i4.undefined,
      hourCycle: hourCycle?.name ?? _i4.undefined,
      dayPeriod: dayPeriod?.name ?? _i4.undefined,
      fractionalSecondDigits: fractionalSecondDigits?.name ?? _i4.undefined,
    );