コード例 #1
0
  private boolean isDailyRevenueAvailable() {
    if (Utils.getHourOfDay() < 11) {
      return false;
    }

    return !mIsDailyRevenueShowed && mLastVisitDayCount - Utils.getDayOfMonth() > 0;
  }
コード例 #2
0
  private boolean isLivesRestored() {
    if (Utils.getHourOfDay() < 11) {
      return false;
    }

    return !mIsFullLivesNotification && System.currentTimeMillis() >= mLastLiveRestoreTime;
  }