public final class WeeklyPattern extends Object
Constructor and Description |
---|
WeeklyPattern()
Creates an empty weekly pattern.
|
WeeklyPattern(WeeklyPattern pWeeklyPattern)
Creates a copy of another weekly pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pOther) |
org.joda.time.LocalTime |
getEndTime()
Returns the end time of this weekly pattern.
|
org.joda.time.LocalTime |
getStartTime()
Returns the start time of this weekly pattern.
|
Set<WeekDay> |
getWeekDays()
Returns the list of weekdays this weekly pattern occurs.
|
int |
hashCode() |
void |
setEndTime(org.joda.time.LocalTime pEndTime)
Sets the end time of this weekly pattern.
|
void |
setStartTime(org.joda.time.LocalTime pStartTime)
Sets the start time of this weekly pattern.
|
void |
setWeekDays(Set<WeekDay> pWeekDays)
Sets the list of weekdays this weekly pattern occurs.
|
String |
toString() |
public WeeklyPattern()
public WeeklyPattern(WeeklyPattern pWeeklyPattern)
pWeeklyPattern
- the weekly pattern to copy; can not be null
.IllegalArgumentException
- if pWeeklyPattern is null
.public org.joda.time.LocalTime getStartTime()
null
.public void setStartTime(org.joda.time.LocalTime pStartTime)
pStartTime
- the start time to set; can be null
.public org.joda.time.LocalTime getEndTime()
null
.public void setEndTime(org.joda.time.LocalTime pEndTime)
pEndTime
- the end time to set; can be null
.public Set<WeekDay> getWeekDays()
null
.public void setWeekDays(Set<WeekDay> pWeekDays)
pWeekDays
- the list of weekdays to set; can be null
.© 1998- 2018 Stibo DX