Module java.base

Enum Class SignStyle

java.lang.Object
java.lang.Enum<SignStyle>
java.time.format.SignStyle
All Implemented Interfaces:
Serializable, Comparable<SignStyle>, Constable

public enum SignStyle extends Enum<SignStyle>
Enumeration of ways to handle the positive/negative sign.

The formatting engine allows the positive and negative signs of numbers to be controlled using this enum. See DateTimeFormatterBuilder for usage.

Implementation Requirements:
This is an immutable and thread-safe enum.
Since:
1.8