Package ru.bitel.bgbilling.modules.drwebn.server.tasks

# Class CalculatorUtils

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.drwebn.server.tasks.CalculatorUtils

public class CalculatorUtils extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CalculatorUtils(Connection con, int mid, Calendar startMonth, ru.bitel.bgbilling.modules.drwebn.server.tariff.DrWebNTariffContext context, ServiceCostCache costCache)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `isCurrentDayStatus(DrwebAgentStatus status, Calendar day)`
  `static boolean`
  `isStartDayStatus(DrwebAgentStatus status)`
  `String`
  `processStatus(DrwebAgent agent, DrwebAgentStatusBase agentStatus, Date day)`

  ### Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

  `error, error, error, getLogger, logError, logError`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CalculatorUtils

    public CalculatorUtils(Connection con, int mid, Calendar startMonth, ru.bitel.bgbilling.modules.drwebn.server.tariff.DrWebNTariffContext context, ServiceCostCache costCache) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

- ## Method Details

  - ### processStatus

    public String processStatus(DrwebAgent agent, DrwebAgentStatusBase agentStatus, Date day) throws SQLException, ru.bitel.bgbilling.common.BGException
    Throws:
      `SQLException`
      `ru.bitel.bgbilling.common.BGException`

  - ### isCurrentDayStatus

    public static boolean isCurrentDayStatus(DrwebAgentStatus status, Calendar day)

  - ### isStartDayStatus

    public static boolean isStartDayStatus(DrwebAgentStatus status)