BAMPFA-79: Remove calls to Date.getScalarValue, since it was removed.