---
title: RegexComponent.TimeStyle
framework: swift
role: symbol
role_heading: Type Alias
path: swift/regexcomponent/timestyle
---

# RegexComponent.TimeStyle

A type alias to use when matching time components in a regular expression.

## Declaration

```swift
typealias TimeStyle = Date.FormatStyle.TimeStyle
```

## See Also

### Supporting types

- [RegexOutput](swift/regexcomponent/regexoutput.md)
- [RegexComponent.DateStyle](swift/regexcomponent/datestyle.md)
