Sets the specified java.util.Date property.
@param pstrSection the INI section name.
@param pstrProp the property to be set.
@param pdtVal the date value to be persisted.
508952
public void setDateProperty(String pstrSection, String pstrProp, 
                    			Date pdtVal, String pstrComments)
    {
        INISection objSec   = null;

        objSec = (INISection) this.mhmapSections.get(pstrSection);
        if (objSec == null)
        {
            objSec = new INISection(pstrSection);
            this.mhmapSections.put(pstrSection, objSec);
        }
        objSec.setProperty(pstrProp, utilDateToStr(pdtVal, this.mstrDateFmt), 
                        	pstrComments);
    }
543978
public void psSetBytes(PreparedStatement pstmtImpl, int i, byte[] x) throws SQLException {
        pstmtImpl.setBytes(i, x);
    }
625678
public void setBooleanProperty(String pstrSection, String pstrProp, 
                    				boolean pblnVal, String pstrComments)
    {
        INISection objSec   = null;

        objSec = (INISection) this.mhmapSections.get(pstrSection);
        if (objSec == null)
        {
            objSec = new INISection(pstrSection);
            this.mhmapSections.put(pstrSection, objSec);
        }
        if (pblnVal)
            objSec.setProperty(pstrProp, "TRUE", pstrComments);
        else
            objSec.setProperty(pstrProp, "FALSE", pstrComments);
    }
1190740
@Override
    void setStopDate(String newStopDate) throws IllegalArgumentException {

        try {
            if (newStopDate.contains(":")) {
                // User passed in a time as well as date
                setStopDate(defaultDateTimeFormat.parse(newStopDate));
            } else {
                // when stop date is supplied with no time, we need to add 1 day - 1 ms
                // to make the stop date be treated as a maximum
                Date stopDate = new Date(defaultDateFormat.parse(newStopDate).getTime() + 86400000 - 1);
                setStopDate(stopDate);
            }
        } catch (ParseException e) {
            try {
                if (newStopDate.contains(":")) {
                    // User passed in a time as well as date
                    setStopDate(isoDateTimeFormat.parse(newStopDate));
                } else {
                    // when stop date is supplied with no time, we need to add 1 day - 1 ms
                    // to make the stop date be treated as a maximum
                    Date stopDate = new Date(isoDateFormat.parse(newStopDate).getTime() + 86400000 - 1);
                    setStopDate(stopDate);
                }
            } catch (ParseException p) {
                throw new IllegalArgumentException(getLocalizedString("BL_INVALID_MAXDATE"), e);
            }
        }
    }
1300183
public void setProperty(String strParam, String strValue)
    {
        if (strValue != null)
            m_properties.put(strParam, strValue);
        else
            m_properties.remove(strParam);
    }
861014
public void setIntegerProperty(String pstrSection, String pstrProp, 
                    				int pintVal, String pstrComments)
    {
        INISection objSec   = null;

        objSec = (INISection) this.mhmapSections.get(pstrSection);
        if (objSec == null)
        {
            objSec = new INISection(pstrSection);
            this.mhmapSections.put(pstrSection, objSec);
        }
        objSec.setProperty(pstrProp, Integer.toString(pintVal), pstrComments);
    }
9743
public final void setSat(StringBuilder contentBuffer) {
        ptValues[GpxMetadata.PTSAT] = Integer.parseInt(contentBuffer.toString());
    }
892310
public final void setDate(final Date date) {
        this.date = date;
        if (date instanceof DateTime) {
            if (Value.DATE.equals(getParameter(Parameter.VALUE))) {
                getParameters().replace(Value.DATE_TIME);
            }
            updateTimeZone(((DateTime) date).getTimeZone());
        } else {
            if (date != null) {
                getParameters().replace(Value.DATE);
            }
            /*
            else {
                getParameters().removeAll(Parameter.VALUE);
            }
            */
            // ensure timezone is null for VALUE=DATE or null properties..
            updateTimeZone(null);
        }
    }
568726
@Override
  public final Date fromIso8601DateNoTz(final String pDateStr,
    final Map<String, Object> pAddParam) throws Exception {
    return this.dateNoTzFormatIso8601.parse(pDateStr);
  }
591089
public void setDateFormatString(String dfString) {
		for (int i = 0; i < 4; i++) {
			((JDateChooser) components[i]).setDateFormatString(dfString);
		}
	}
814575
private void setUpdatedAtFromDefinition(@Nullable Long updatedAt) {
    if (updatedAt != null && updatedAt > definition.getUpdatedAt()) {
      setUpdatedAt(updatedAt);
    }
  }
1065560
public void setProperty(final OutlookMessageProperty msgProp) {
		final String name = msgProp.getClazz();
		final Object value = msgProp.getData();

		if (name != null && value != null) {
			switch (name) {
				case "3701":
					setSize(msgProp.getSize());
					setData((byte[]) value);
					break;
				case "3704":
					setFilename((String) value);
					break;
				case "3707":
					setLongFilename((String) value);
					break;
				case "370e":
					setMimeTag((String) value);
					break;
				case "3703":
					setExtension((String) value);
					break;
				default:
					// property to ignore, for full list see properties-list.txt
			}
		}
	}
1253605
public void removeProperty(String pstrSection, String pstrProp)
    {
        INISection objSec = null;

        objSec = (INISection) this.mhmapSections.get(pstrSection);
        if (objSec != null)
        {
            objSec.removeProperty(pstrProp);
        	objSec = null;
        }
    }
303902
public void setProcessLaunchedAt(java.util.Collection<DateFilter> processLaunchedAt) {
        if (processLaunchedAt == null) {
            this.processLaunchedAt = null;
            return;
        }

        this.processLaunchedAt = new java.util.ArrayList<DateFilter>(processLaunchedAt);
    }
322867
void setStopDate(String newStopDate) throws IllegalArgumentException {
        String sdfPattern = getLocalizedString("CWTRA0001I");
        if (newStopDate.contains(":")) {
            // User passed in a time as well as date
            sdfPattern = getLocalizedString("CWTRA0003I");
        }
        DateFormat df = new SimpleDateFormat(sdfPattern);
        df.setLenient(false);
        try {
            stopDate = df.parse(newStopDate);
        } catch (ParseException e) {
            throw new IllegalArgumentException(getLocalizedString("CWTRA0006E"), e);
        }
        //No need to check format of date , as setLenient() is already doing
        //if(!df.format(stopDate).equals(newStopDate))
        //	throw new IllegalArgumentException(getLocalizedString("CWTRA0006E"));

    }
18027
void timestampFormat(DateFormat format, String... attributes) {
        convertWith(new DateToStringConverter(format), attributes);
        convertWith(new StringToTimestampConverter(format), attributes);
    }
684633
public static Date toDate(String pString, String pFormat) {
        // Get the format from cache, or create new and insert
        // Return new date
        return toDate(pString, new SimpleDateFormat(pFormat));
    }