code: func TruncateOverflowMySQLTime(d gotime.Duration) (gotime.Duration, error) {
  	if d > MaxTime {
  		return MaxTime, ErrTruncatedWrongVal.GenWithStackByArgs("time", d.String())
  	} else if d < MinTime {
  		return MinTime, ErrTruncatedWrongVal.GenWithStackByArgs("time", d.String())
  	}
  
  	return d, nil
  }
docs: // TruncateOverflowMySQLTime truncates d when it overflows, and return ErrTruncatedWrongVal.