Represents a collection of ByDay objects. More...
Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::Calendar::Recurrences::ByDay > >, and IEquatable< System::SharedPtr< Aspose::Email::Calendar::Recurrences::ByDayCollection > >.
Public Member Functions | |
ByDayCollection () | |
ByDayCollection (System::SharedPtr< ByDayCollection > collection) | |
int32_t | Add (System::SharedPtr< ByDay > byDay) |
Adds a ByDay to the collection. More... | |
int32_t | Add (System::DayOfWeek dayOfWeek) |
Creates and adds a ByDay that represents all occurrences of the day of the week to the collection. More... | |
int32_t | Add (int32_t nthOccurrence, System::DayOfWeek dayOfWeek) |
Creates and adds a ByDay to the collection. More... | |
bool | Contains (System::SharedPtr< ByDay > element, int32_t maxNthOccurrence) |
Not really sure what this does, need to find out and document. More... | |
bool | Contains (const System::DayOfWeek &dayOfWeek) |
Returns a value indicating whether a specified day of week is present in the collection. More... | |
bool | Equals (System::SharedPtr< ByDayCollection > other) override |
Determines whether the specified ByDayCollection is equal to this instance. More... | |
bool | Equals (System::SharedPtr< System::Object > obj) override |
Determines whether the specified Object is equal to the current Object. More... | |
int32_t | GetHashCode () const override |
GetHashCode returns a hash function for this object. More... | |
void | SetTemplateWeakPtr (uint32_t argument) override |
Protected Member Functions | |
virtual | ~ByDayCollection () |
Friends | |
class | Aspose::Email::Calendar::Recurrences::RecurrenceRule |
Represents a collection of ByDay objects.
Corresponds to the BYDAY part of the recurrence rule.
The BYDAY rule specifies a list of days of the week for a monthly or yearly recurrence rule.
For each day of the week, a specific Nth occurrence or all occurrences can be specified.
Aspose::Email::Calendar::Recurrences::ByDayCollection::ByDayCollection | ( | ) |
Aspose::Email::Calendar::Recurrences::ByDayCollection::ByDayCollection | ( | System::SharedPtr< ByDayCollection > | collection | ) |
|
protectedvirtual |
int32_t Aspose::Email::Calendar::Recurrences::ByDayCollection::Add | ( | int32_t | nthOccurrence, |
System::DayOfWeek | dayOfWeek | ||
) |
Creates and adds a ByDay to the collection.
nthOccurrence | The nth occurrence of the day of the week. |
dayOfWeek | A day of the week. |
int32_t Aspose::Email::Calendar::Recurrences::ByDayCollection::Add | ( | System::DayOfWeek | dayOfWeek | ) |
Creates and adds a ByDay that represents all occurrences of the day of the week to the collection.
dayOfWeek | A day of the week. |
int32_t Aspose::Email::Calendar::Recurrences::ByDayCollection::Add | ( | System::SharedPtr< ByDay > | byDay | ) |
Adds a ByDay to the collection.
byDay | The item to add to the collection. |
bool Aspose::Email::Calendar::Recurrences::ByDayCollection::Contains | ( | const System::DayOfWeek & | dayOfWeek | ) |
Returns a value indicating whether a specified day of week is present in the collection.
dayOfWeek | Day of weekSystem::DayOfWeek. |
bool Aspose::Email::Calendar::Recurrences::ByDayCollection::Contains | ( | System::SharedPtr< ByDay > | element, |
int32_t | maxNthOccurrence | ||
) |
Not really sure what this does, need to find out and document.
|
override |
Determines whether the specified ByDayCollection is equal to this instance.
other | The ByDayCollection to compare with this instance. |
true
if the specified ByDayCollection is equal to this instance; otherwise, false
.
|
override |
Determines whether the specified Object is equal to the current Object.
obj | The Object to compare with the current Object. |
|
override |
GetHashCode returns a hash function for this object.
|
override |
|
friend |