RestaurantHolder visit(long millis){
  if (millis > 0) {
    long now=System.currentTimeMillis();
    detail.setText(now - millis > MINUTE_IN_MILLIS ? DateUtils.getRelativeTimeSpanString(millis,now,0,FORMAT_ABBREV_ALL) : mContext.getString(R.string.recent_time));
  }
 else {
    detail.setText(R.string.never);
  }
  detail.setCompoundDrawablesWithIntrinsicBounds(R.drawable.ic_action_time_small,0,0,0);
  detailIsAddress=false;
  return this;
}

RestaurantHolder visit ( long millis ) { if ( millis > 0 ) { long now = System . currentTimeMillis ( ) ; detail . setText ( now - millis > MINUTE_IN_MILLIS ? DateUtils . getRelativeTimeSpanString ( millis , now , 0 , FORMAT_ABBREV_ALL ) : mContext . getString ( R . string . recent_time ) ) ; } else { detail . setText ( R . string . never ) ; } detail . setCompoundDrawablesWithIntrinsicBounds ( R . drawable . ic_action_time_small , 0 , 0 , 0 ) ; detailIsAddress = false ; return this ; }
set the last time the restaurant was visited .
