Style
Style is used to configure how a CompassDirectionFormatter
translates a compass direction into a String.
-
When a
CompassDirectionFormatteris configured to use theshortstyle, it uses an abbreviation of the compass direction, like “N” for north or “NE” for northeast. -
When a
CompassDirectionFormatteris configured to use thelongstyle, it uses full descriptions of the compass direction, like “north” or “northeast.”
Style Enumeration Reference