code: @Override
      public Date convert(final String valueStr, final boolean _caseSensitive, final Object target)
              throws ParseException
      {
          if (sdf == null)
              if (getFormat() != null)
                  try
                  {
                      sdf = new SimpleDateFormat(getFormat());
                  } catch (final Exception e)
                  {
                      throw new ParseException("date format: " + e.getMessage(), 0);
                  }
  
          try
          {
              if (sdf == null)
              {
                  final LocalDateTime ldt = TemporalHelper.parseWithPredefinedParsers(valueStr);
                  return new Date(CalendarFactory.asDateLong(ldt));
              }
              return sdf.parse(valueStr);
          } catch (final Exception e)
          {
              throw new ParseException(toString() + " " + getFormat() + ": " + e.getMessage(), 0);
          }
      }
docs: {@inheritDoc}