calculate
Analytic
Value
private open fun calculateAnalyticValue(analytic: PerformanceAnalytic, value: Double, currentDate: Long)
Method to calculate and store the value of an analytic
Parameters
analytic
The analytic type to calculate
value
The initial value from calculate the new one
currentDate
The current date where store the analytic