src/org/tiefaces/components/websheet/service/DateTimeCustomConverter.java
@Override
	public final Object getAsObject(final FacesContext context,
			final UIComponent component, final String value) {
		if (value == null) {
			return null;
		}
		String pattern = (String) component.getAttributes().get("pattern");
		SimpleDateFormat formatter = new SimpleDateFormat(pattern,
				getLocale(context, component));
		try {
			return formatter.parse(value);
		} catch (Exception e) {
			throw new ConverterException(
					"ConverterException = " + e.getLocalizedMessage(), e);
		}
	}
@Override
	public final Object getAsObject(final FacesContext context,
			final UIComponent component, final String value) {
		if (value == null) {
			return null;
		}
		String pattern = (String) component.getAttributes().get("pattern");
		SimpleDateFormat formatter = new SimpleDateFormat(pattern,
				getLocale(context, component));
		try {
			return formatter.parse(value);
		} catch (Exception e) {
			throw new ConverterException(
					"ConverterException = " + e.getLocalizedMessage(), e);
		}
	}
/*
(non-Javadoc)

@see javax.faces.convert.Converter#getAsObject(javax.faces.context.
FacesContext , javax.faces.component.UIComponent, java.lang.String)