final Date tomorrow = today.add(1);
/* @Time */final double dT = dc.yearFraction(yesterday, tomorrow);
new Settings().setEvaluationDate(yesterday);
value_m = option.NPV();
new Settings().setEvaluationDate(tomorrow);
value_p = option.NPV();
expected.put("theta", (value_p - value_m) / dT);
new Settings().setEvaluationDate(today);
// compare
for (final Entry<String, Double> greek : calculated.entrySet()) {
/* @Real */final double expct = expected.get(greek.getKey());