Day |
The DayRanges type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Gets the number of DayRange items in this set. | |
| FullRange | Gets the DayRange extending from the first day of the first DayRange to the last day of the last DayRange in this chronologically-ordered set. | |
| IsContiguous | Gets a value indicating whether each contained DayRange starts the day after the previous DayRange ended (i.e. no gaps). | |
| Item | Gets the DayRange at the specified position in this chronologically-ordered set. |
| Name | Description | |
|---|---|---|
| Create(DayRange) | Returns a non-null DayRanges object containing the specified DayRange items. | |
| Create(IEnumerableDayRange) | Returns a non-null DayRanges object containing the specified DayRange items. | |
| Equals |
Returns true if obj is a DayRanges
object representing the same set of DayRange items as
this; false otherwise.
(Overrides ObjectEquals(Object)) | |
| GetEnumerator | Returns an enumerator for iterating over each DayRange contained within this chronologically-ordered set. | |
| GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode) | |
| ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString) |
This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.
| Version | Description |
|---|---|
| 1.2 | This was added in version 1.2. |