SQLiteDateParser.components(from:) is not public

This commit is contained in:
Gwendal Roué committed 2018-06-07 08:36:29 +02:00
1 parent 0616209e58
commit 06476bc6fe
1 file changed
+1 -1
@@ -14,7 +14,7 @@ class SQLiteDateParser {
var nanosecond = ContiguousArray<CChar>.init(repeating: 0, count: 11)
}
public func components(from dateString: String) -> DatabaseDateComponents? {
func components(from dateString: String) -> DatabaseDateComponents? {
guard dateString.count >= 5 else { return nil }
if dateString[dateString.index(dateString.startIndex, offsetBy: 4)] == "-" {