EssentialsWeekRange Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll
Visibility Public
Interfaces IEnumerable<T>, IEnumerable
Inheritance Object

Class representing a range of one or more EssentialsWeek.

public class EssentialsWeekRange : IEnumerable<T>, IEnumerable { }

Properties

Type Name Summary
EssentialsWeek Start

Gets the EssentialsWeek at the start of the range.

EssentialsWeek End

Gets the EssentialsWeek at the end of the range.

Array of EssentialsWeek Weeks

Gets an array of EssentialsWeek within the range.

bool IsReverse

Indicates whether the range is in reverse order (if EssentialsWeekRange.End is before EssentialsWeekRange.Start).

Methods

GetEnumerator() (virtual)

Returns an enumerator that iterates through the EssentialsWeek of the range.