mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
SQLiteDateParser.components(from:) is not public
This commit is contained in:
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)] == "-" {
|
||||
|
||||
Reference in new issue
Block a user