/// <summary> /// Creates a DensifyRange with DateTime bounds. /// </summary> /// <param name="bounds">The bounds.</param> /// <param name="step">The step.</param> /// <param name="unit">The unit.</param> /// <returns>A DensifyRange with DateTime bounds.</returns> public static DensifyRange DateTime(DensifyBounds bounds, int step, DensifyDateTimeUnit unit) { return(new DensifyDateTimeRange(bounds.ToDateTimeBounds(), step, unit)); }
/// <summary> /// Creates a DensifyRange with DateTime bounds. /// </summary> /// <param name="lowerBound">The lower bound.</param> /// <param name="upperBound">The upper bound.</param> /// <param name="step">The step.</param> /// <param name="unit">The unit.</param> /// <returns>A DensifyRange with DateTime bounds.</returns> public static DensifyRange DateTime(DateTime lowerBound, DateTime upperBound, int step, DensifyDateTimeUnit unit) { return(new DensifyDateTimeRange(new DensifyLowerUpperDateTimeBounds(lowerBound, upperBound), step, unit)); }