|
4 | 4 |
|
5 | 5 | import Foundation |
6 | 6 |
|
7 | | - |
8 | | -// MARK: - NaiveDate - |
| 7 | +// MARK: - NaiveDate |
9 | 8 |
|
10 | 9 | /// Calendar date without a timezone. |
11 | 10 | public struct NaiveDate: Equatable, Hashable, Comparable, LosslessStringConvertible, Codable, _DateComponentsConvertible { |
@@ -55,8 +54,7 @@ public struct NaiveDate: Equatable, Hashable, Comparable, LosslessStringConverti |
55 | 54 | } |
56 | 55 | } |
57 | 56 |
|
58 | | - |
59 | | -// MARK: - NaiveTime - |
| 57 | +// MARK: - NaiveTime |
60 | 58 |
|
61 | 59 | /// Time without a timezone. Allows for second precision. |
62 | 60 | public struct NaiveTime: Equatable, Hashable, Comparable, LosslessStringConvertible, Codable, _DateComponentsConvertible { |
@@ -119,7 +117,7 @@ public struct NaiveTime: Equatable, Hashable, Comparable, LosslessStringConverti |
119 | 117 | } |
120 | 118 |
|
121 | 119 |
|
122 | | -// MARK: - NaiveDateTime - |
| 120 | +// MARK: - NaiveDateTime |
123 | 121 |
|
124 | 122 | /// Combined date and time without timezone. |
125 | 123 | public struct NaiveDateTime: Equatable, Hashable, Comparable, LosslessStringConvertible, Codable, _DateComponentsConvertible { |
@@ -181,7 +179,7 @@ public struct NaiveDateTime: Equatable, Hashable, Comparable, LosslessStringConv |
181 | 179 | } |
182 | 180 |
|
183 | 181 |
|
184 | | -// MARK: - Calendar Extensions - |
| 182 | +// MARK: - Calendar Extensions |
185 | 183 |
|
186 | 184 | public extension Calendar { |
187 | 185 | // MARK: Naive* -> Date |
@@ -234,8 +232,7 @@ public extension Calendar { |
234 | 232 | } |
235 | 233 | } |
236 | 234 |
|
237 | | - |
238 | | -// MARK: - Private - |
| 235 | +// MARK: - Private |
239 | 236 |
|
240 | 237 | /// A type that can be converted to DateComponents (and in turn to Date). |
241 | 238 | internal protocol _DateComponentsConvertible { |
|
0 commit comments