code: @Override
      public Calendar fromString(Class targetClass, String s)
      {
          if (s == null)
          {
              return null;
          }
          Calendar cal = Calendar.getInstance();
          Date d;
          // d = (Date)DATE_FORMATTER.parse(s);
          d = DateAccessor.getDateByPattern(s);
          cal.setTime(d);
          return cal;
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.property.PropertyAccessor#fromString(java.lang.String
  )