public class Schedule extends Object implements Comparable<Schedule>
| Modifier and Type | Class and Description |
|---|---|
static class |
Schedule.Days |
static class |
Schedule.Month |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Schedule o) |
boolean |
equals(Object o) |
List<Schedule.Days> |
getDays() |
String |
getDescription() |
Integer |
getPriority() |
Integer |
getValidFromDay() |
Integer |
getValidFromMonth() |
Time |
getValidFromTime() |
Integer |
getValidFromYear() |
Integer |
getValidToDay() |
Integer |
getValidToMonth() |
Time |
getValidToTime() |
Integer |
getValidToYear() |
int |
hashCode() |
boolean |
match(Timestamp timestamp,
boolean isVacation,
boolean isHoliday) |
void |
setDays(List<Schedule.Days> days) |
void |
setDescription(String description) |
void |
setPriority(Integer priority) |
void |
setValidFromDay(Integer validFromDay) |
void |
setValidFromMonth(Integer validFromMonth) |
void |
setValidFromTime(Time validFromTime) |
void |
setValidFromYear(Integer validFromYear) |
void |
setValidToDay(Integer validToDay) |
void |
setValidToMonth(Integer validToMonth) |
void |
setValidToTime(Time validToTime) |
void |
setValidToYear(Integer validToYear) |
String |
toString() |
public Schedule()
public Schedule(Schedule other)
public Integer getPriority()
public void setPriority(Integer priority)
public List<Schedule.Days> getDays()
public void setDays(List<Schedule.Days> days)
public Integer getValidFromYear()
public void setValidFromYear(Integer validFromYear)
public Integer getValidToYear()
public void setValidToYear(Integer validToYear)
public Integer getValidFromMonth()
public void setValidFromMonth(Integer validFromMonth)
public Integer getValidToMonth()
public void setValidToMonth(Integer validToMonth)
public Integer getValidFromDay()
public void setValidFromDay(Integer validFromDay)
public Integer getValidToDay()
public void setValidToDay(Integer validToDay)
public Time getValidFromTime()
public void setValidFromTime(Time validFromTime)
public Time getValidToTime()
public void setValidToTime(Time validToTime)
public String getDescription()
public void setDescription(String description)
public int compareTo(Schedule o)
compareTo in interface Comparable<Schedule>public boolean match(Timestamp timestamp, boolean isVacation, boolean isHoliday)
Copyright © 2019. All rights reserved.