protected Period toPeriod(Object object, Expression e) {
return e.evaluate(object, Period.class);
}
protected TemporalPrimitive toTemporal(Object object, Expression e) {
TemporalPrimitive p = toPeriod(object, e);
if (p != null) {
return p;
}
p = toInstant(object, e);