Type Property

defaultFormatterBehavior

Returns the default formatting behavior for instances of the class.

Declaration

class var defaultFormatterBehavior: DateFormatter.Behavior { get set }

Return Value

The default formatting behavior for instances of the class. For possible values, see DateFormatter.Behavior.

Discussion

For iOS and for macOS applications linked against macOS 10.5 and later, the default is NSDateFormatterBehavior10_4.

See Also

Managing Behavior Version

var formatterBehavior: DateFormatter.Behavior

The formatter behavior for the receiver.