TimeGeneratorRegularSamplingFromIntervals Method (TimeIntervalCollection, Duration)
public static IList<JulianDate> RegularSamplingFromIntervals( TimeIntervalCollection intervals, Duration step )
Public Shared Function RegularSamplingFromIntervals ( intervals As TimeIntervalCollection, step As Duration ) As IList(Of JulianDate)
public: static IList<JulianDate>^ RegularSamplingFromIntervals( TimeIntervalCollection^ intervals, Duration step )
static member RegularSamplingFromIntervals : intervals : TimeIntervalCollection * 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 collection is included (IsStartIncluded), the first date in the collection will be the start date of the first interval. If it is not included, the first date in the collection will be step seconds later. Only samples which are regular steps from the start of sampling and which are contained in intervals are included. If no samples fall within the intervals, the list is empty.