withTemplateValue method
Creates a pattern like this one, but with the specified template value.
newTemplateValue
: The template value for the new pattern, used to fill in unspecified fields.
Returns: A new pattern with the given template value.
Implementation
AnnualDatePattern withTemplateValue(AnnualDate newTemplateValue) =>
_create(patternText, _formatInfo, newTemplateValue);