File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -481,15 +481,13 @@ private let formatter: NSDateFormatter = {
481
481
482
482
extension NSDate : Value {
483
483
484
- public typealias Datatype = String
484
+ public class var declaredDatatype : String { return String . declaredDatatype }
485
485
486
- public class var declaredDatatype : String { return Datatype . declaredDatatype }
487
-
488
- public class func fromDatatypeValue( datatypeValue: Datatype ) -> NSDate {
486
+ public class func fromDatatypeValue( datatypeValue: String ) -> NSDate {
489
487
return formatter. dateFromString ( datatypeValue) !
490
488
}
491
489
492
- public var datatypeValue : Datatype {
490
+ public var datatypeValue : String {
493
491
return formatter. stringFromDate ( self )
494
492
}
495
493
Original file line number Diff line number Diff line change @@ -809,9 +809,7 @@ public struct Row {
809
809
// MARK: - SequenceType
810
810
extension Query : SequenceType {
811
811
812
- public typealias Generator = QueryGenerator
813
-
814
- public func generate( ) -> Generator { return Generator ( self ) }
812
+ public func generate( ) -> QueryGenerator { return QueryGenerator ( self ) }
815
813
816
814
}
817
815
You can’t perform that action at this time.
0 commit comments