code: @Override
      public Date getAttributeAsDate(String attrName, String dateTimeFormat) {
          Lock lock = lockForRead();
          try {
              return ValueUtils.convertDate(getAttribute(attrName), dateTimeFormat);
          } finally {
              lock.unlock();
          }
      }
docs: {@inheritDoc}