Contents

formattingContext

The capitalization formatting context used when formatting a date.

Declaration

var formattingContext: Formatter.Context { get set }

Discussion

The formatting context allows the formatter to apply appropriate capitalization depending on how the how the string will be used, and whether the locale makes capitalization distinctions.

See Also

Managing Formats and Styles