public class CalculatorUtils
extends java.lang.Object
Constructor and Description |
---|
CalculatorUtils(java.sql.Connection con,
int mid,
java.util.Calendar startMonth,
ru.bitel.bgbilling.modules.drwebn.server.tariff.DrWebNTariffContext context,
ServiceCostCache costCache) |
Modifier and Type | Method and Description |
---|---|
static boolean |
isCurrentDayStatus(DrwebAgentStatus status,
java.util.Calendar day) |
static boolean |
isStartDayStatus(DrwebAgentStatus status) |
java.lang.String |
processStatus(DrwebAgent agent,
DrwebAgentStatusBase agentStatus,
java.util.Date day) |
public CalculatorUtils(java.sql.Connection con, int mid, java.util.Calendar startMonth, ru.bitel.bgbilling.modules.drwebn.server.tariff.DrWebNTariffContext context, ServiceCostCache costCache) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String processStatus(DrwebAgent agent, DrwebAgentStatusBase agentStatus, java.util.Date day) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public static boolean isCurrentDayStatus(DrwebAgentStatus status, java.util.Calendar day)
public static boolean isStartDayStatus(DrwebAgentStatus status)