code: public Period setEnd( Date theDate,  TemporalPrecisionEnum thePrecision) {
      end = new DateTimeType(theDate, thePrecision); 
      return this; 
    }
docs: Sets the value for <b>end</b> ()
  
  <p>
  <b>Definition:</b>
  The end of the period. The boundary is inclusive.
  </p>