@@ -17,33 +17,33 @@ extension ISO8601DateFormatter {
17
17
18
18
public init ( rawValue: UInt ) { self . rawValue = rawValue }
19
19
20
- public static var withYear = ISO8601DateFormatter . Options ( rawValue: 1 << 0 )
20
+ public static let withYear = ISO8601DateFormatter . Options ( rawValue: 1 << 0 )
21
21
22
- public static var withMonth = ISO8601DateFormatter . Options ( rawValue: 1 << 1 )
22
+ public static let withMonth = ISO8601DateFormatter . Options ( rawValue: 1 << 1 )
23
23
24
- public static var withWeekOfYear = ISO8601DateFormatter . Options ( rawValue: 1 << 2 )
24
+ public static let withWeekOfYear = ISO8601DateFormatter . Options ( rawValue: 1 << 2 )
25
25
26
- public static var withDay = ISO8601DateFormatter . Options ( rawValue: 1 << 4 )
26
+ public static let withDay = ISO8601DateFormatter . Options ( rawValue: 1 << 4 )
27
27
28
- public static var withTime = ISO8601DateFormatter . Options ( rawValue: 1 << 5 )
28
+ public static let withTime = ISO8601DateFormatter . Options ( rawValue: 1 << 5 )
29
29
30
- public static var withTimeZone = ISO8601DateFormatter . Options ( rawValue: 1 << 6 )
30
+ public static let withTimeZone = ISO8601DateFormatter . Options ( rawValue: 1 << 6 )
31
31
32
- public static var withSpaceBetweenDateAndTime = ISO8601DateFormatter . Options ( rawValue: 1 << 7 )
32
+ public static let withSpaceBetweenDateAndTime = ISO8601DateFormatter . Options ( rawValue: 1 << 7 )
33
33
34
- public static var withDashSeparatorInDate = ISO8601DateFormatter . Options ( rawValue: 1 << 8 )
34
+ public static let withDashSeparatorInDate = ISO8601DateFormatter . Options ( rawValue: 1 << 8 )
35
35
36
- public static var withColonSeparatorInTime = ISO8601DateFormatter . Options ( rawValue: 1 << 9 )
36
+ public static let withColonSeparatorInTime = ISO8601DateFormatter . Options ( rawValue: 1 << 9 )
37
37
38
- public static var withColonSeparatorInTimeZone = ISO8601DateFormatter . Options ( rawValue: 1 << 10 )
38
+ public static let withColonSeparatorInTimeZone = ISO8601DateFormatter . Options ( rawValue: 1 << 10 )
39
39
40
- public static var withFractionalSeconds = ISO8601DateFormatter . Options ( rawValue: 1 << 11 )
40
+ public static let withFractionalSeconds = ISO8601DateFormatter . Options ( rawValue: 1 << 11 )
41
41
42
- public static var withFullDate = ISO8601DateFormatter . Options ( rawValue: withYear. rawValue + withMonth. rawValue + withDay. rawValue + withDashSeparatorInDate. rawValue)
42
+ public static let withFullDate = ISO8601DateFormatter . Options ( rawValue: withYear. rawValue + withMonth. rawValue + withDay. rawValue + withDashSeparatorInDate. rawValue)
43
43
44
- public static var withFullTime = ISO8601DateFormatter . Options ( rawValue: withTime. rawValue + withTimeZone. rawValue + withColonSeparatorInTime. rawValue + withColonSeparatorInTimeZone. rawValue)
44
+ public static let withFullTime = ISO8601DateFormatter . Options ( rawValue: withTime. rawValue + withTimeZone. rawValue + withColonSeparatorInTime. rawValue + withColonSeparatorInTimeZone. rawValue)
45
45
46
- public static var withInternetDateTime = ISO8601DateFormatter . Options ( rawValue: withFullDate. rawValue + withFullTime. rawValue)
46
+ public static let withInternetDateTime = ISO8601DateFormatter . Options ( rawValue: withFullDate. rawValue + withFullTime. rawValue)
47
47
}
48
48
49
49
}
0 commit comments