Contents

fixed(format:timeZone:locale:)

A fixed-format date parse strategy.

Declaration

static func fixed(format: Date.FormatString, timeZone: TimeZone, locale: Locale? = nil) -> Self where Self == Date.ParseStrategy

Parameters

  • format:

    The string describing the parsing format.

  • timeZone:

    The Timezone used to create the string representation of the date.

  • locale:

    The Locale used to create the string representation of the date.

Return Value

A strategy for parsing a date.

See Also

Commonly-used parsers