public final class ProjectCalendarHelper extends Object
ProjectCalendar instances.| Constructor and Description |
|---|
ProjectCalendarHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ProjectCalendar |
createTemporaryDerivedCalendar(ProjectCalendar baseCalendar,
Resource resource)
Create a temporary derived calendar.
|
static ProjectCalendar |
createTemporaryFlattenedCalendar(ProjectCalendar calendar)
Creates a temporary base calendar by flattening an existing calendar's
hierarchy.
|
static void |
mergeExceptions(ProjectCalendar target,
List<ProjectCalendarException> sourceExceptions)
Merge the supplied list of exceptions into the target calendar.
|
static void |
mergeExceptions(ProjectCalendar target,
ProjectCalendar source)
Merge exceptions recursively from the source calendar (and any calendars from which it is derived)
into the target calendar.
|
public static ProjectCalendar createTemporaryFlattenedCalendar(ProjectCalendar calendar)
calendar - calendar to flattenpublic static ProjectCalendar createTemporaryDerivedCalendar(ProjectCalendar baseCalendar, Resource resource)
baseCalendar - calendar to derive fromresource - link the new calendar to this resourcepublic static void mergeExceptions(ProjectCalendar target, ProjectCalendar source)
target - target calendar to receive exceptionssource - source calendar from which exceptions are readpublic static void mergeExceptions(ProjectCalendar target, List<ProjectCalendarException> sourceExceptions)
target - calendar into which the exceptions are mergedsourceExceptions - exceptions to mergeCopyright © 2000–2025 MPXJ. All rights reserved.