in src/java/org/apache/fulcrum/intake/model/DateStringField.java [142:174]
protected void doSetValue()
{
if (isMultiValued())
{
String[] inputs = parser.getStrings(getKey());
Date[] values = new Date[inputs.length];
for (int i = 0; i < inputs.length; i++)
{
try
{
values[i] = StringUtils.isNotEmpty(inputs[i])
? getDate(inputs[i]) : getEmptyValue();
}
catch (ParseException e)
{
values[i] = null;
}
}
setTestValue(values);
}
else
{
String val = parser.getString(getKey());
try
{
setTestValue(StringUtils.isNotEmpty(val) ? getDate(val) : getEmptyValue());
}
catch (ParseException e)
{
setTestValue(null);
}
}
}