public boolean isDownloadable(){
  if (!isActive())   return false;
  Timestamp guarantee=getGuaranteeDate();
  if (guarantee == null)   return false;
  guarantee=TimeUtil.getDay(guarantee);
  Timestamp now=TimeUtil.getDay(System.currentTimeMillis());
  if (!now.after(guarantee)) {
    getProduct();
    return m_product != null && m_product.hasDownloads();
  }
  return false;
}

public boolean isDownloadable ( ) { if ( ! isActive ( ) ) return false ; Timestamp guarantee = getGuaranteeDate ( ) ; if ( guarantee == null ) return false ; guarantee = TimeUtil . getDay ( guarantee ) ; Timestamp now = TimeUtil . getDay ( System . currentTimeMillis ( ) ) ; if ( ! now . after ( guarantee ) ) { getProduct ( ) ; return m_product != null && m_product . hasDownloads ( ) ; } return false ; }
can we download . based on guarantee date and availability of download
