dow.addDescription(new Function<FieldExpression, String>() {
@Override
public String apply(FieldExpression fieldExpression) {
if (fieldExpression instanceof On) {
On on = (On) fieldExpression;
switch (on.getSpecialChar()) {
case HASH:
return String.format("%s %s %s ", nominal.apply(on.getTime()), on.getNth(), bundle.getString("of_every_month"));
case L:
return String.format("%s %s %s ", bundle.getString("last"), nominal.apply(on.getTime()), bundle.getString("of_every_month"));
default:
return "";
}
}
return "";