---
title: HistoricalComparisons
framework: weatherkit
role: symbol
role_heading: Structure
path: weatherkit/historicalcomparisons
---

# HistoricalComparisons

A structure that represents the weather condition comparisons for a specific location. It’s a list of comparisons between current readings and historical averages. The list is ordered by significance of deviation.

## Declaration

```swift
struct HistoricalComparisons
```

## Topics

### Instance Properties

- [comparisons](weatherkit/historicalcomparisons/comparisons.md)
- [endIndex](weatherkit/historicalcomparisons/endindex.md)
- [metadata](weatherkit/historicalcomparisons/metadata.md)
- [startIndex](weatherkit/historicalcomparisons/startindex.md)

### Subscripts

- [subscript(_:)](weatherkit/historicalcomparisons/subscript(_:).md)

## Relationships

### Conforms To

- [BidirectionalCollection](swift/bidirectionalcollection.md)
- [Collection](swift/collection.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [RandomAccessCollection](swift/randomaccesscollection.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)
