/** * Sets the value for <b>date</b> () * * <p> * <b>Definition:</b> * The date that the list was prepared * </p> */ public ListResource setDateWithSecondsPrecision( Date theDate) { myDate = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>manufactureDate</b> () * * <p> * <b>Definition:</b> * The date and time when the device was manufactured. * </p> */ public Device setManufactureDate( Date theDate, TemporalPrecisionEnum thePrecision) { myManufactureDate = new DateTimeDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>time</b> () * * <p> * <b>Definition:</b> * Indicates when this particular annotation was made * </p> */ public AnnotationDt setTimeWithSecondsPrecision( Date theDate) { myTime = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>start</b> () * * <p> * <b>Definition:</b> * The start of the period. The boundary is inclusive. * </p> */ public PeriodDt setStartWithSecondsPrecision( Date theDate) { myStart = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>expiry</b> () * * <p> * <b>Definition:</b> * The date and time beyond which this device is no longer valid or should not be used (if applicable) * </p> */ public Device setExpiryWithSecondsPrecision( Date theDate) { myExpiry = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>expiry</b> () * * <p> * <b>Definition:</b> * The date and time beyond which this device is no longer valid or should not be used (if applicable) * </p> */ public Device setExpiry( Date theDate, TemporalPrecisionEnum thePrecision) { myExpiry = new DateTimeDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>date</b> () * * <p> * <b>Definition:</b> * The date that the value set status was last changed. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes (e.g. the 'content logical definition') * </p> */ public ValueSet setDate( Date theDate, TemporalPrecisionEnum thePrecision) { myDate = new DateTimeDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>start</b> () * * <p> * <b>Definition:</b> * The start of the period. The boundary is inclusive. * </p> */ public PeriodDt setStart( Date theDate, TemporalPrecisionEnum thePrecision) { myStart = new DateTimeDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>end</b> () * * <p> * <b>Definition:</b> * The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time * </p> */ public PeriodDt setEndWithSecondsPrecision( Date theDate) { myEnd = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>end</b> () * * <p> * <b>Definition:</b> * The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time * </p> */ public PeriodDt setEnd( Date theDate, TemporalPrecisionEnum thePrecision) { myEnd = new DateTimeDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>date</b> () * * <p> * <b>Definition:</b> * The date that the list was prepared * </p> */ public ListResource setDate( Date theDate, TemporalPrecisionEnum thePrecision) { myDate = new DateTimeDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>manufactureDate</b> () * * <p> * <b>Definition:</b> * The date and time when the device was manufactured. * </p> */ public Device setManufactureDateWithSecondsPrecision( Date theDate) { myManufactureDate = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>timestamp</b> () * * <p> * <b>Definition:</b> * The time at which the expansion was produced by the expanding system. * </p> */ public Expansion setTimestampWithSecondsPrecision( Date theDate) { myTimestamp = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>creation</b> () * * <p> * <b>Definition:</b> * The date that the attachment was first created * </p> */ public AttachmentDt setCreationWithSecondsPrecision( Date theDate) { myCreation = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>date</b> () * * <p> * <b>Definition:</b> * When this item was added to the list * </p> */ public Entry setDateWithSecondsPrecision( Date theDate) { myDate = new DateTimeDt(theDate); return this; }
/** * Sets the value for <b>timestamp</b> () * * <p> * <b>Definition:</b> * The time at which the expansion was produced by the expanding system. * </p> */ public Expansion setTimestamp( Date theDate, TemporalPrecisionEnum thePrecision) { myTimestamp = new DateTimeDt(theDate, thePrecision); return this; }
/** * Returns a new instance of DateTimeDt with the current system time and SECOND precision and the system local time * zone */ public static DateTimeDt withCurrentTime() { return new DateTimeDt(new Date(), TemporalPrecisionEnum.SECOND, TimeZone.getDefault()); }
@Override public IDateCriterion day(Date theValue) { DateTimeDt dt = new DateTimeDt(theValue); dt.setPrecision(TemporalPrecisionEnum.DAY); return constructCriterion(dt); }
@Override public IDateCriterion day(String theValue) { DateTimeDt dt = new DateTimeDt(theValue); dt.setPrecision(TemporalPrecisionEnum.DAY); return constructCriterion(dt); }
@Override public IDateCriterion second(Date theValue) { DateTimeDt dt = new DateTimeDt(theValue); dt.setPrecision(TemporalPrecisionEnum.SECOND); return constructCriterion(dt); }