---
title: "init(rawValue:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/indayofweekoptions/init(rawvalue:)"
---

# init(rawValue:)

Initializes a set that contains the specified days of the week.

## Declaration

```swift
init(rawValue: UInt)
```

## Parameters

- `rawValue`: The numeric value that represents the day or days for the set to contain.
