public class ByDay extends Object
Represents Nth occurrence (or all occurrences) of the specified day of the week.
ByDayCollection
Constructor and Description |
---|
ByDay(int dayOfWeek)
Initializes a new instance of ByDay class.
|
ByDay(int nthOccurrence,
int dayOfWeek)
Initializes a new instance of ByDay class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ByDay other) |
boolean |
equals(Object obj) |
int |
getDayOfWeek()
Gets or sets the day of the week.
|
int |
getNthOccurrence()
Gets or sets the nth occurrence of the day of the week.
|
int |
hashCode() |
boolean |
isAllOccurrences()
Returns True when NthOccurrence is zero (meaning all occurrences of this day of week).
|
void |
setDayOfWeek(int value) |
void |
setNthOccurrence(int value) |
public ByDay(int dayOfWeek)
Initializes a new instance of ByDay class.
dayOfWeek
- A day of the week.public ByDay(int nthOccurrence, int dayOfWeek)
Initializes a new instance of ByDay class.
nthOccurrence
- The nth occurrence of the day of the week.dayOfWeek
- A day of the week.public int getNthOccurrence()
Gets or sets the nth occurrence of the day of the week.
public void setNthOccurrence(int value)
public int getDayOfWeek()
Gets or sets the day of the week.
public void setDayOfWeek(int value)
public boolean isAllOccurrences()
Returns True when NthOccurrence is zero (meaning all occurrences of this day of week).
public boolean equals(ByDay other)
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.