createWithInvariantCulture static method
Creates a pattern for the given pattern text in the invariant culture.
todo: we need one See the user guide for the available pattern text options.
patternText
: Pattern text to create the pattern for
Returns: A pattern for parsing and formatting instants.
- InvalidPatternError: The pattern text was invalid.
Implementation
static InstantPattern createWithInvariantCulture(String patternText) =>
_create(patternText, TimeMachineFormatInfo.invariantInfo);