From 3828ce0e21e7573314ca4219da0e23b007bffc3f Mon Sep 17 00:00:00 2001 From: Sam Spencer Date: Thu, 11 Apr 2024 13:14:08 -0400 Subject: [PATCH] Implement SwiftDate/#819 --- Sources/SwiftDate/Supports/TimeStructures.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/SwiftDate/Supports/TimeStructures.swift b/Sources/SwiftDate/Supports/TimeStructures.swift index e3c4e21d..3c7c6e31 100644 --- a/Sources/SwiftDate/Supports/TimeStructures.swift +++ b/Sources/SwiftDate/Supports/TimeStructures.swift @@ -104,7 +104,8 @@ public struct Year: CustomStringConvertible, Equatable { // MARK: - Month /// Defines months in a year -public enum Month: Int, CustomStringConvertible, Equatable { +/// +public enum Month: Int, CaseIterable, CustomStringConvertible, Equatable { case january = 0, february, march, april, may, june, july, august, september, october, november, december public var description: String {