TimeSeriesLibrary.TSLibrary.CountTimeSteps C# (CSharp) Method

CountTimeSteps() public method

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