public String getWhen(String format) { if (this.when == null) return ""; return CommonUtil.formatDate(this.when, format); }