---
title: quarter
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nscalendar/unit/quarter
---

# quarter

Identifier for the quarter of the calendar.

## Declaration

```swift
static var quarter: NSCalendar.Unit { get }
```

## Discussion

Discussion The corresponding value is an NSInteger. Equal to kCFCalendarUnitQuarter. important: The NSCalendarUnitQuarter unit is largely unimplemented, and is not recommended for use.

## See Also

### Specifying Years and Months

- [era](foundation/nscalendar/unit/era.md)
- [year](foundation/nscalendar/unit/year.md)
- [yearForWeekOfYear](foundation/nscalendar/unit/yearforweekofyear.md)
- [month](foundation/nscalendar/unit/month.md)
- [isLeapMonth](foundation/nscalendar/unit/isleapmonth.md)
