return new DateLabel(format);
}
String predefinedFormat = (String) attributes.get("predefinedFormat");
if (predefinedFormat != null) {
PredefinedFormat predef = PredefinedFormat.valueOf(predefinedFormat);
return new DateLabel(DateTimeFormat.getFormat(predef));
}
String customFormat = (String) attributes.get("customFormat");
if (customFormat != null) {