abbreviated
TypeScriptstatic get abbreviated(): Date_ComponentsFormatStyle_StyleSwift declarationstatic var abbreviated: Date.ComponentsFormatStyle.Style { get }Shows the fields in the abbreviation. For example, "2 hr, 10 min", "2小時10分鐘"
struct · iOS 15.0+ · SDK 27.1
struct Stylestatic get abbreviated(): Date_ComponentsFormatStyle_StyleSwift declarationstatic var abbreviated: Date.ComponentsFormatStyle.Style { get }Shows the fields in the abbreviation. For example, "2 hr, 10 min", "2小時10分鐘"
static get condensedAbbreviated(): Date_ComponentsFormatStyle_StyleSwift declarationstatic var condensedAbbreviated: Date.ComponentsFormatStyle.Style { get }Uses the abbreviated form but condensed if possible. For example, "2hr 10min", "2小時10分鐘"
static get wide(): Date_ComponentsFormatStyle_StyleSwift declarationstatic var wide: Date.ComponentsFormatStyle.Style { get }Shows the fields in their full spelling. For example, "2 hour, 10 minutes", "2小時10分鐘"
static get narrow(): Date_ComponentsFormatStyle_StyleSwift declarationstatic var narrow: Date.ComponentsFormatStyle.Style { get }Shows the fields in the shortest form possible. For example, "2h 10m", "2時10分"
static get spellOut(): Date_ComponentsFormatStyle_StyleSwift declarationstatic var spellOut: Date.ComponentsFormatStyle.Style { get }Values are spelled out and fields are displayed in their full name. For example, "two hours, ten minutes", "2小時10分鐘"
No declarations were skipped in this snapshot.