public class ProjectCalendarWeek extends ProjectCalendarDays implements Comparable<ProjectCalendarWeek>
DEFAULT_WORKING_AFTERNOON, DEFAULT_WORKING_MORNING
Constructor and Description |
---|
ProjectCalendarWeek() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ProjectCalendarWeek o) |
List<ProjectCalendarException> |
convertToRecurringExceptions(LocalDate earliestStartDate,
LocalDate latestFinishDate)
Converts this working week into a set of equivalent recurring exceptions.
|
LocalDateRange |
getDateRange()
Retrieves the data range for which this week is valid.
|
void |
setDateRange(LocalDateRange range)
Sets the date range for this week.
|
String |
toString() |
addCalendarHours, addDefaultCalendarDays, addDefaultCalendarHours, addDefaultCalendarHours, getCalendarDayType, getCalendarDayTypes, getCalendarHours, getCalendarHours, getName, removeCalendarHours, setCalendarDayType, setName, setWorkingDay
public LocalDateRange getDateRange()
public void setDateRange(LocalDateRange range)
range
- date range, or nullpublic List<ProjectCalendarException> convertToRecurringExceptions(LocalDate earliestStartDate, LocalDate latestFinishDate)
earliestStartDate
- earliest start date for recurring exceptionslatestFinishDate
- latest finish date for recurring exceptionspublic int compareTo(ProjectCalendarWeek o)
compareTo
in interface Comparable<ProjectCalendarWeek>
Copyright © 2000–2024 Packwood Software. All rights reserved.