---
title: "CFCalendarCopyLocale(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcalendarcopylocale(_:)"
---

# CFCalendarCopyLocale(_:)

Returns a locale object for a specified calendar.

## Declaration

```swift
func CFCalendarCopyLocale(_ calendar: CFCalendar!) -> CFLocale!
```

## Parameters

- `calendar`: The calendar to examine.

## Return Value

Return Value A copy of the locale object for the specified calendar. Ownership follows the The Create Rule.

## See Also

### Getting and Setting the Locale

- [CFCalendarSetLocale(_:_:)](corefoundation/cfcalendarsetlocale(_:_:).md)
