TimeGeneratorRegularSamplingFromInterval Method (TimeInterval, Duration)
public static IList<JulianDate> RegularSamplingFromInterval( TimeInterval interval, Duration step )
Public Shared Function RegularSamplingFromInterval ( interval As TimeInterval, step As Duration ) As IList(Of JulianDate)
public: static IList<JulianDate>^ RegularSamplingFromInterval( TimeInterval^ interval, Duration step )
static member RegularSamplingFromInterval : interval : TimeInterval * step : Duration -> IList<JulianDate>
Times in the collection are generated as they are requested, so the returned collection uses a negligible amount of memory even when representing times over a large interval with a small step.
If the start date of the interval is included in the interval (IsStartIncluded), the first date in the collection will be the start date of the interval. If it is not included, the first date in the collection will be step seconds later. If the stop date of the interval is included in the interval (IsStopIncluded), it will be included as the last time in the list only if it lies exactly at a sample time. If it is not included, the last date in the collection will be up to step seconds before the stop date. If neither the start nor stop date are included, and the interval is shorter than step, the returned collection is empty.