TimeGeneratorFromInterval Method (JulianDate, JulianDate, Duration)
public static IList<JulianDate> FromInterval( JulianDate start, JulianDate stop, Duration step )
Public Shared Function FromInterval ( start As JulianDate, stop As JulianDate, step As Duration ) As IList(Of JulianDate)
public: static IList<JulianDate>^ FromInterval( JulianDate start, JulianDate stop, Duration step )
static member FromInterval : start : JulianDate * stop : JulianDate * 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.
The first date in the collection will be start. The last date in the collection will be stop, so the difference between the second-to-last date and the last date may be less than step. Also, these dates will always be present in the returned collection even if the duration between them is less than step.