クラス: 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)」であるべきですか?