/// <summary> /// Expands the current instance into a collection of instances of a smaller time period type, which fit /// within the current instance. /// </summary> /// <typeparam name="T">The type of the time period being expanded to.</typeparam> /// <returns>A collection of all instances of <typeparamref name="T"/> which fit within the <see cref="Season"/> /// represented by the current instance.</returns> public IEnumerable <T> Expand <T>() where T : ITimePeriod <T> { return(TimePeriodHelper.Expand <Season, T>(this)); }
/// <summary> /// Expands the current instance into a collection of instances of a smaller time period type, which fit /// within the current instance. /// </summary> /// <typeparam name="T">The type of the time period being expanded to.</typeparam> /// <returns>A collection of all instances of <typeparamref name="T"/> which fit within the <see cref="QuarterHour"/> /// represented by the current instance.</returns> public IEnumerable <T> Expand <T>() where T : ITimePeriod <T> { return(TimePeriodHelper.Expand <QuarterHour, T>(this)); }
/// <summary> /// Expands the current instance into a collection of instances of a smaller time period type, which fit /// within the current instance. /// </summary> /// <typeparam name="T">The type of the time period being expanded to.</typeparam> /// <returns>A collection of all instances of <typeparamref name="T"/> which fit within the <see cref="CalendarYear"/> /// represented by the current instance.</returns> public IEnumerable <T> Expand <T>() where T : ITimePeriod <T> { return(TimePeriodHelper.Expand <CalendarYear, T>(this)); }