{
// ONLY defined for dayTime.
Duration dur = nv1.getDuration() ;
boolean valid = XSDFuncOp.isDayTime(dur) ;
if ( ! valid )
throw new ExprEvalTypeException("Operator '*': only dayTime duration. Got: "+nv1) ;
BigDecimal dec = nv2.getDecimal() ;
Duration r = dur.multiply(dec) ;
Node n = NodeFactory.createLiteralNode(r.toString(), null, dtXSDdayTimeDuration) ;
return NodeValue.makeNodeDuration(r, n) ;
}
throw new ExprEvalTypeException("Operator '*' : Undefined multiply: "+nv1+" and "+nv2) ;
}