类:org.hl7.fhir.instance.model.DateAndTime 方法:setFraction(int fraction)
当分数为 000 时失败。我在代码中看到
public void setFraction(int fraction) throws Exception {
this.fraction = fraction;
if (this.fraction == 0)
throw new Exception("set 'fractions' before setting 'fraction'");
}
检查“if (this.fraction == 0)”是一个错误吗?它应该是“if (this.fractions == 0)”吗?