---
title: "clearYearDaySchedule(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/clearyeardayschedule(with:completion:)"
---

# clearYearDaySchedule(with:completion:)

## Declaration

```swift
func clearYearDaySchedule(with params: MTRDoorLockClusterClearYearDayScheduleParams, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func clearYearDaySchedule(with params: MTRDoorLockClusterClearYearDayScheduleParams) async throws
```
