Package ca.uhn.fhir.model.primitive

Examples of ca.uhn.fhir.model.primitive.InstantDt


     * <b>Definition:</b>
     * When the document reference was created
     * </p>
   */
  public DocumentReference setIndexed( Date theDate,  TemporalPrecisionEnum thePrecision) {
    myIndexed = new InstantDt(theDate, thePrecision);
    return this;
  }
View Full Code Here


     * The point in time that the values are reported
     * </p>
   */
  public InstantDt getInstant() { 
    if (myInstant == null) {
      myInstant = new InstantDt();
    }
    return myInstant;
  }
View Full Code Here

     * <b>Definition:</b>
     * The point in time that the values are reported
     * </p>
   */
  public DeviceObservationReport setInstantWithMillisPrecision( Date theDate) {
    myInstant = new InstantDt(theDate);
    return this;
  }
View Full Code Here

     * <b>Definition:</b>
     * The point in time that the values are reported
     * </p>
   */
  public DeviceObservationReport setInstant( Date theDate,  TemporalPrecisionEnum thePrecision) {
    myInstant = new InstantDt(theDate, thePrecision);
    return this;
  }
View Full Code Here

     * <b>Definition:</b>
     *
     * </p>
   */
  public InstantDt addInstantCorr() {
    InstantDt newType = new InstantDt();
    getInstantCorr().add(newType);
    return newType;
  }
View Full Code Here

   */
  public Test addInstantCorr( Date theDate) {
    if (myInstantCorr == null) {
      myInstantCorr = new java.util.ArrayList<InstantDt>();
    }
    myInstantCorr.add(new InstantDt(theDate));
    return this;
  }
View Full Code Here

   */
  public Test addInstantCorr( Date theDate,  TemporalPrecisionEnum thePrecision) {
    if (myInstantCorr == null) {
      myInstantCorr = new java.util.ArrayList<InstantDt>();
    }
    myInstantCorr.add(new InstantDt(theDate, thePrecision));
    return this;
  }
View Full Code Here

     * The time when the event occurred on the source
     * </p>
   */
  public InstantDt getDateTime() { 
    if (myDateTime == null) {
      myDateTime = new InstantDt();
    }
    return myDateTime;
  }
View Full Code Here

     * <b>Definition:</b>
     * The time when the event occurred on the source
     * </p>
   */
  public Event setDateTimeWithMillisPrecision( Date theDate) {
    myDateTime = new InstantDt(theDate);
    return this;
  }
View Full Code Here

     * <b>Definition:</b>
     * The time when the event occurred on the source
     * </p>
   */
  public Event setDateTime( Date theDate,  TemporalPrecisionEnum thePrecision) {
    myDateTime = new InstantDt(theDate, thePrecision);
    return this;
  }
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.model.primitive.InstantDt

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.