public int CountTimeSteps(DateTime startDate, DateTime endDate, short unit, short stepSize) { return TSDateCalculator.CountSteps(startDate, endDate, (TSDateCalculator.TimeStepUnitCode)unit, stepSize); }