---
title: Calendar.Component.yearForWeekOfYear
framework: foundation
role: symbol
role_heading: Case
path: foundation/calendar/component/yearforweekofyear
---

# Calendar.Component.yearForWeekOfYear

Identifier for the week-counting year unit.

## Declaration

```swift
case yearForWeekOfYear
```

## Discussion

Discussion See the DateComponents property yearForWeekOfYear for a discussion of the semantics of this component.

## See Also

### Specifying Years and Months

- [Calendar.Component.era](foundation/calendar/component/era.md)
- [Calendar.Component.year](foundation/calendar/component/year.md)
- [Calendar.Component.quarter](foundation/calendar/component/quarter.md)
- [Calendar.Component.month](foundation/calendar/component/month.md)
