---
title: HourlyWeatherStatistics
framework: weatherkit
role: symbol
role_heading: Structure
path: weatherkit/hourlyweatherstatistics
---

# HourlyWeatherStatistics

A structure that holds a collection of hour weather statistics data.

## Declaration

```swift
struct HourlyWeatherStatistics<T> where T : Decodable, T : Encodable, T : Equatable, T : Sendable
```

## Overview

Overview Weather statistics for each hour are derived from data for that hour, collected over all years since the baseline start date.

## Topics

### Instance Properties

- [baselineStartDate](weatherkit/hourlyweatherstatistics/baselinestartdate.md)
- [endIndex](weatherkit/hourlyweatherstatistics/endindex.md)
- [hours](weatherkit/hourlyweatherstatistics/hours.md)
- [metadata](weatherkit/hourlyweatherstatistics/metadata.md)
- [startIndex](weatherkit/hourlyweatherstatistics/startindex.md)

### Subscripts

- [subscript(_:)](weatherkit/hourlyweatherstatistics/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)
