Class CalculatorUtils
java.lang.Object
ru.bitel.bgbilling.modules.drwebn.server.tasks.CalculatorUtils
-
Constructor Summary
ConstructorDescriptionCalculatorUtils
(Connection con, int mid, Calendar startMonth, ru.bitel.bgbilling.modules.drwebn.server.tariff.DrWebNTariffContext context, ServiceCostCache costCache) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCurrentDayStatus
(DrwebAgentStatus status, Calendar day) static boolean
isStartDayStatus
(DrwebAgentStatus status) processStatus
(DrwebAgent agent, DrwebAgentStatusBase agentStatus, Date day)
-
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
-
isStartDayStatus
-