withDefaultZoneProvider method

ZonedDateTimePattern withDefaultZoneProvider()

Creates a pattern for the same original pattern text as this pattern, but with the default time zone provider.

If DateTimeZoneProviders.defaultProvider is null, the resulting pattern can be used for formatting but not parsing.

Returns: A new pattern with the given time zone provider.

Implementation

ZonedDateTimePattern withDefaultZoneProvider() => withZoneProvider(DateTimeZoneProviders.defaultProvider);