code: func IsTypeTime(tp byte) bool {
  	return tp == mysql.TypeDatetime || tp == mysql.TypeDate || tp == mysql.TypeTimestamp
  }
docs: // IsTypeTime returns a boolean indicating
  // whether the tp is time type like datetime, date or timestamp.