public static long installAge(long currentTimestamp,long installTimestamp,boolean sendInstallEvent){
  if (sendInstallEvent) {
    return INSTALL_AGE_IMMEDIATELY_AFTER_INSTALLING;
  }
 else {
    return Math.max(0L,(currentTimestamp - installTimestamp) / MS_PER_DAY);
  }
}

public static long installAge ( long currentTimestamp , long installTimestamp , boolean sendInstallEvent ) { if ( sendInstallEvent ) { return INSTALL_AGE_IMMEDIATELY_AFTER_INSTALLING ; } else { return Math . max ( 0L , ( currentTimestamp - installTimestamp ) / MS_PER_DAY ) ; } }
determine how long it ' s been since chrome was first installed . note that this may not accurate for various reasons , but it shouldn ' t affect stats too much .
