docs: public int parseDate(String strValue, Date date)
      {
          int type = 0;
          if (strValue == null)
              return type;
          
          Date parsedDate = null;
          try {
                  parsedDate = XmlUtilities.dateTimeFormat.parse(strValue);
                  type = DBConstants.DATE_TIME_FORMAT;
          } catch (ParseException e) {
          }
          
          try {
              if (parsedDate == null)
              {
                  parsedDate = XmlUtilities.dateFormat.parse(strValue);
                  type = DBConstants.DATE_ONLY_FORMAT;
              }
          } catch (ParseException e) {
          }
          
          try {
              if (parsedDate == null)
              {
                  parsedDate = XmlUtilities.timeFormat.parse(strValue);
                  type = DBConstants.TIME_ONLY_FORMAT;
              }
          } catch (ParseException e) {
          }
          
          if (parsedDate != null)
              date.setTime(parsedDate.getTime());
          else
              type = 0;
          
          return type;
      }