private void extractID3v23Formats(final Date dateRecord,final int precision){
  logger.fine("Precision is:" + precision + "for date:"+ dateRecord.toString());
  Date d=dateRecord;
  if (precision == PRECISION_YEAR) {
    setYear(formatDateAsYear(d));
  }
 else   if (precision == PRECISION_MONTH) {
    setYear(formatDateAsYear(d));
    setDate(formatDateAsDate(d));
    monthOnly=true;
  }
 else   if (precision == PRECISION_DAY) {
    setYear(formatDateAsYear(d));
    setDate(formatDateAsDate(d));
  }
 else   if (precision == PRECISION_HOUR) {
    setYear(formatDateAsYear(d));
    setDate(formatDateAsDate(d));
    setTime(formatDateAsTime(d));
    hoursOnly=true;
  }
 else   if (precision == PRECISION_MINUTE) {
    setYear(formatDateAsYear(d));
    setDate(formatDateAsDate(d));
    setTime(formatDateAsTime(d));
  }
 else   if (precision == PRECISION_SECOND) {
    setYear(formatDateAsYear(d));
    setDate(formatDateAsDate(d));
    setTime(formatDateAsTime(d));
  }
}

private void extractID3v23Formats ( final Date dateRecord , final int precision ) { logger . fine ( "Precision is:" + precision + "for date:" + dateRecord . toString ( ) ) ; Date d = dateRecord ; if ( precision == PRECISION_YEAR ) { setYear ( formatDateAsYear ( d ) ) ; } else if ( precision == PRECISION_MONTH ) { setYear ( formatDateAsYear ( d ) ) ; setDate ( formatDateAsDate ( d ) ) ; monthOnly = true ; } else if ( precision == PRECISION_DAY ) { setYear ( formatDateAsYear ( d ) ) ; setDate ( formatDateAsDate ( d ) ) ; } else if ( precision == PRECISION_HOUR ) { setYear ( formatDateAsYear ( d ) ) ; setDate ( formatDateAsDate ( d ) ) ; setTime ( formatDateAsTime ( d ) ) ; hoursOnly = true ; } else if ( precision == PRECISION_MINUTE ) { setYear ( formatDateAsYear ( d ) ) ; setDate ( formatDateAsDate ( d ) ) ; setTime ( formatDateAsTime ( d ) ) ; } else if ( precision == PRECISION_SECOND ) { setYear ( formatDateAsYear ( d ) ) ; setDate ( formatDateAsDate ( d ) ) ; setTime ( formatDateAsTime ( d ) ) ; } }
extract the components ans store the v23 version of the various values
