this.day = Integer.valueOf(dayHidden.getValue().toString());
final String dayValue = dayHidden.getValue().toString(); if (dayValue.length() > 0) { this.day = Integer.valueOf(dayValue); }
    public void setDayHidden(HtmlInputHidden dayHidden) {        if (dayHidden.getValue() != null) {            this.day = Integer.valueOf(dayHidden.getValue().toString());        }        this.dayHidden = dayHidden;    }