withCulture method
Creates a pattern for the same original pattern text as this pattern, but with the specified culture.
culture
: The culture to use in the new pattern.
Returns: A new pattern with the given culture.
Implementation
LocalDatePattern withCulture(Culture culture) => _withFormatInfo(TimeMachineFormatInfo.getFormatInfo(culture));