Пример #1
0
 public boolean isTimeToReconcile(Account account) {
   return account.getLast_reconciliation() == null
       || (System.currentTimeMillis() - account.getLast_reconciliation().getTime())
           > 1000l
               * 60
               * Long.valueOf(
                   SysConfigManager.instance().getValue("reconciliationIntervalInMinutes", "60"));
 }
Пример #2
0
 static {
   mailcheckDisableIntervalInHours =
       Long.valueOf(
           SysConfigManager.instance().getValue("mailcheckDisableIntervalInHours", "720"));
   dayMultiplier = 1000l * 60 * 60;
 }