Contents

dropTrailing

The drop trailing zero units behavior. Units whose value is 0 are dropped starting at the end of the sequence. For example, when days, hours, minutes, and seconds are allowed, the abbreviated version of one hour is displayed as “0d 1h”.

Declaration

static var dropTrailing: DateComponentsFormatter.ZeroFormattingBehavior { get }

See Also

Constants