/** * Move the date field (or the current time) to the target date field. */ public void moveDateToTarget() { DateTimeField fldHistoryDateTarget = (DateTimeField)this.getHistoryRecord().getField(m_iHistoryDateSeq); if ((this.getHistorySourceDate() != null) && (!this.getHistorySourceDate().isNull())) fldHistoryDateTarget.moveFieldToThis(this.getHistorySourceDate()); else fldHistoryDateTarget.setDateTime(new Date(), DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); // Need seconds } /**
/** * Move the date field (or the current time) to the target date field. */ public void moveDateToTarget() { DateTimeField fldHistoryDateTarget = (DateTimeField)this.getHistoryRecord().getField(m_iHistoryDateSeq); if ((this.getHistorySourceDate() != null) && (!this.getHistorySourceDate().isNull())) fldHistoryDateTarget.moveFieldToThis(this.getHistorySourceDate()); else fldHistoryDateTarget.setDateTime(new Date(), DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); // Need seconds } /**
/** * Move the date field (or the current time) to the target date field. */ public void moveDateToTarget() { DateTimeField fldHistoryDateTarget = (DateTimeField)this.getHistoryRecord().getField(m_iHistoryDateSeq); if ((this.getHistorySourceDate() != null) && (!this.getHistorySourceDate().isNull())) fldHistoryDateTarget.moveFieldToThis(this.getHistorySourceDate()); else fldHistoryDateTarget.setDateTime(new Date(), DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); // Need seconds } /**