---
title: "getHolidaySchedule(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterdoorlock/getholidayschedule(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# getHolidaySchedule(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func getHolidaySchedule(with params: MTRDoorLockClusterGetHolidayScheduleParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable (MTRDoorLockClusterGetHolidayScheduleResponseParams?, (any Error)?) -> Void)
```

```swift
func holidaySchedule(with params: MTRDoorLockClusterGetHolidayScheduleParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRDoorLockClusterGetHolidayScheduleResponseParams
```
