if (!dt.isTime()) {
return makeResult(getTypeFactory().integerType(), vf.integer(getValue().getCentury()), ctx);
}
throw new UnsupportedOperation("Can not retrieve the century on a time value",ctx.getCurrentAST());
} else if (name.equals("isDate")) {
return makeResult(getTypeFactory().boolType(), vf.bool(getValue().isDate()), ctx);
} else if (name.equals("isTime")) {
return makeResult(getTypeFactory().boolType(), vf.bool(getValue().isTime()), ctx);
} else if (name.equals("isDateTime")) {
return makeResult(getTypeFactory().boolType(), vf.bool(getValue().isDateTime()), ctx);
} else if (name.equals("justDate")) {