protected Calendar getInternalCalendar() throws ValueFormatException, RepositoryException
{
try
{
if (type == PropertyType.DATE)
return new JCRDateFormat().deserialize(new String(getLocalData(false).getAsByteArray(),
Constants.DEFAULT_ENCODING));
return JCRDateFormat.parse(new String(getLocalData(false).getAsByteArray(), Constants.DEFAULT_ENCODING));
}
catch (UnsupportedEncodingException e)