---
title: DateComponentsFormatter.UnitsStyle.abbreviated
framework: foundation
role: symbol
role_heading: Case
path: foundation/datecomponentsformatter/unitsstyle-swift.enum/abbreviated
---

# DateComponentsFormatter.UnitsStyle.abbreviated

A style that uses the most abbreviated spelling for units of time.

## Declaration

```swift
case abbreviated
```

## Discussion

Discussion This style represents the shortest representation of units and quantities of time. For example, the quantity of 3 years, 9 months, 26 days, 19 hours, and 17 seconds is displayed in the U.S. English locale as “3y 9mo 26d 19h 17s”.

## See Also

### Styles

- [DateComponentsFormatter.UnitsStyle.spellOut](foundation/datecomponentsformatter/unitsstyle-swift.enum/spellout.md)
- [DateComponentsFormatter.UnitsStyle.full](foundation/datecomponentsformatter/unitsstyle-swift.enum/full.md)
- [DateComponentsFormatter.UnitsStyle.short](foundation/datecomponentsformatter/unitsstyle-swift.enum/short.md)
- [DateComponentsFormatter.UnitsStyle.brief](foundation/datecomponentsformatter/unitsstyle-swift.enum/brief.md)
- [DateComponentsFormatter.UnitsStyle.positional](foundation/datecomponentsformatter/unitsstyle-swift.enum/positional.md)
