RecurrenceDay Struct
A day of a recurrence rule (BYDAY): a day of the week, and its position in the month or the year (2MO, the second Monday; -1FR, the last Friday).
public readonly struct RecurrenceDay : IEquatable<RecurrenceDay>- Implements
Constructors
| Name | Description |
|---|---|
| RecurrenceDay(DayOfWeek, int) | A day of a recurrence rule (BYDAY): a day of the week, and its position in the month or the year (2MO, the second Monday; -1FR, the last Friday). |
RecurrenceDay(DayOfWeek, int)
A day of a recurrence rule (BYDAY): a day of the week, and its position in the month or the year (2MO, the second Monday; -1FR, the last Friday).
Properties
| Name | Description |
|---|---|
| Day | The day of the week. |
| Position | The position of the day in the month or the year (negative from the end), or 0 for every such day. |
Position
RecurrenceDay.csMethods
| Name | Description |
|---|---|
| Deconstruct(DayOfWeek, int) | |
| Equals(RecurrenceDay) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() | Returns the day as it is written in a rule, such as MO or -1FR. |
Deconstruct(DayOfWeek, int)
Equals overloads
Equals(RecurrenceDay)
public bool Equals(RecurrenceDay other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
RecurrenceDay.csOperators
| Name | Description |
|---|---|
| operator ==(RecurrenceDay, RecurrenceDay) | |
| operator !=(RecurrenceDay, RecurrenceDay) |
operator ==(RecurrenceDay, RecurrenceDay)
public static bool operator ==(RecurrenceDay left, RecurrenceDay right)No documentation is available.
operator !=(RecurrenceDay, RecurrenceDay)
public static bool operator !=(RecurrenceDay left, RecurrenceDay right)No documentation is available.