Type Property 型プロパティ

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”. 後に続くゼロの単位を落とす挙動。値が0である単位は、一連のものの末尾から開始して落とされます。例えば、日、時、分、そして秒が認められる場合、1時間の省略版は “0d 1h” のように表示されます。

Declaration 宣言

static var dropTrailing: DateComponentsFormatter.ZeroFormattingBehavior { get }