public final class ProjectCalendarException extends ProjectCalendarHours implements Comparable<ProjectCalendarException>
modCount
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ProjectCalendarException o) |
boolean |
contains(LocalDate date)
This method determines whether the given date falls in the range of
dates covered by this exception.
|
boolean |
contains(LocalDateTime date)
This method determines whether the given date falls in the range of
dates covered by this exception.
|
boolean |
contains(ProjectCalendarException exception)
Returns true if any part of the supplied calendar exception overlaps this one.
|
List<ProjectCalendarException> |
getExpandedExceptions()
Expand the current exception into a list of exception.
|
LocalDate |
getFromDate()
Returns the from date.
|
String |
getName()
Retrieve the name of this exception.
|
RecurringData |
getRecurring()
Retrieve any recurrence data associated with this exception.
|
LocalDate |
getToDate()
Get to date.
|
boolean |
getWorking()
Gets working status.
|
void |
setName(String name)
Set the name of this exception.
|
String |
toString() |
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public String getName()
public void setName(String name)
name
- exception namepublic LocalDate getFromDate()
public LocalDate getToDate()
public RecurringData getRecurring()
public boolean getWorking()
public List<ProjectCalendarException> getExpandedExceptions()
public boolean contains(LocalDateTime date)
date
- Date to be testedpublic boolean contains(LocalDate date)
date
- Date to be testedpublic boolean contains(ProjectCalendarException exception)
exception
- calendar exception to testpublic int compareTo(ProjectCalendarException o)
compareTo
in interface Comparable<ProjectCalendarException>
public String toString()
toString
in class ProjectCalendarHours
Copyright © 2000–2024 Packwood Software. All rights reserved.