DataLireCoder swift package
This commit is contained in:
6
Sources/DLCDecoder/Protocols/DateDecoder.swift
Normal file
6
Sources/DLCDecoder/Protocols/DateDecoder.swift
Normal file
@@ -0,0 +1,6 @@
|
||||
import Foundation
|
||||
|
||||
public protocol DateDecoder {
|
||||
func decode(from decoder: any ValueDecoder) throws -> Date
|
||||
func decode(from decoder: any RowDecoder, for key: any CodingKey) throws -> Date
|
||||
}
|
||||
Reference in New Issue
Block a user