DateTimeFormatOptions constructor
DateTimeFormatOptions({
- LocaleMatcherOptions? localeMatcher,
- Weekday? weekday,
- Era? era,
- Year? year,
- Month? month,
- Day? day,
- Hour? hour,
- Minute? minute,
- Second? second,
- TimeZoneName? timeZoneName,
- FormatMatcher? formatMatcher,
- bool? hour12,
- String? timeZone,
- String? calendar,
- DayPeriod? dayPeriod,
- String? numberingSystem,
- DateStyle? dateStyle,
- TimeStyle? timeStyle,
- HourCycle? hourCycle,
- 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,
);