A Date type for Swift language