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
OffsetPattern withCulture(Culture culture) => _create(patternText, TimeMachineFormatInfo.getFormatInfo(culture));