DateTimeFormatOptions constructor

DateTimeFormatOptions({
  1. LocaleMatcherOptions? localeMatcher,
  2. Weekday? weekday,
  3. Era? era,
  4. Year? year,
  5. Month? month,
  6. Day? day,
  7. Hour? hour,
  8. Minute? minute,
  9. Second? second,
  10. TimeZoneName? timeZoneName,
  11. FormatMatcher? formatMatcher,
  12. bool? hour12,
  13. String? timeZone,
  14. String? calendar,
  15. DayPeriod? dayPeriod,
  16. String? numberingSystem,
  17. DateStyle? dateStyle,
  18. TimeStyle? timeStyle,
  19. HourCycle? hourCycle,
  20. FractionalSecondDigits? fractionalSecondDigits,
})

Implementation

factory DateTimeFormatOptions({
  _i3.LocaleMatcherOptions? localeMatcher,
  _i3.Weekday? weekday,
  _i3.Era? era,
  _i3.Year? year,
  _i3.Month? month,
  _i3.Day? day,
  _i3.Hour? hour,
  _i3.Minute? minute,
  _i3.Second? second,
  _i3.TimeZoneName? timeZoneName,
  _i3.FormatMatcher? formatMatcher,
  _i2.bool? hour12,
  _i2.String? timeZone,
  _i2.String? calendar,
  _i3.DayPeriod? dayPeriod,
  _i2.String? numberingSystem,
  _i3.DateStyle? dateStyle,
  _i3.TimeStyle? timeStyle,
  _i3.HourCycle? hourCycle,
  _i3.FractionalSecondDigits? fractionalSecondDigits,
}) =>
    DateTimeFormatOptions._(
      localeMatcher: localeMatcher?.name ?? _i4.undefined,
      weekday: weekday?.name ?? _i4.undefined,
      era: era?.name ?? _i4.undefined,
      year: year?.name ?? _i4.undefined,
      month: month?.name ?? _i4.undefined,
      day: day?.name ?? _i4.undefined,
      hour: hour?.name ?? _i4.undefined,
      minute: minute?.name ?? _i4.undefined,
      second: second?.name ?? _i4.undefined,
      timeZoneName: timeZoneName?.name ?? _i4.undefined,
      formatMatcher: formatMatcher?.name ?? _i4.undefined,
      hour12: hour12 ?? _i4.undefined,
      timeZone: timeZone ?? _i4.undefined,
      calendar: calendar ?? _i4.undefined,
      dayPeriod: dayPeriod?.name ?? _i4.undefined,
      numberingSystem: numberingSystem ?? _i4.undefined,
      dateStyle: dateStyle?.name ?? _i4.undefined,
      timeStyle: timeStyle?.name ?? _i4.undefined,
      hourCycle: hourCycle?.name ?? _i4.undefined,
      fractionalSecondDigits: fractionalSecondDigits?.name ?? _i4.undefined,
    );