| Package | Description |
|---|---|
| org.mpxj | |
| org.mpxj.common | |
| org.mpxj.listener |
| Modifier and Type | Class and Description |
|---|---|
class |
TemporaryCalendar
Represents a temporary calendar which is not intended to form part of the
schedule.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectCalendar |
ProjectCalendarContainer.add()
Add a calendar to the project.
|
ProjectCalendar |
ProjectFile.addCalendar()
This method is used to add a new calendar to the file.
|
ProjectCalendar |
Resource.addCalendar()
This method allows a calendar to be added to a resource.
|
ProjectCalendar |
ProjectCalendarContainer.addDefaultBaseCalendar()
This is a convenience method used to add a calendar called
"Standard" to the project, and populate it with a default working week
and default working hours.
|
ProjectCalendar |
ProjectFile.addDefaultBaseCalendar()
This is a convenience method used to add a calendar called
"Standard" to the file, and populate it with a default working week
and default working hours.
|
ProjectCalendar |
ProjectCalendarContainer.addDefaultDerivedCalendar()
This is a convenience method to add a default derived
calendar to the project.
|
ProjectCalendar |
ProjectFile.addDefaultDerivedCalendar()
This is a convenience method to add a default derived
calendar.
|
ProjectCalendar |
ProjectCalendarContainer.findOrCreateDefaultCalendar()
If we're calling this method, we don't have a reliable way to identify
the default calendar.
|
ProjectCalendar |
ProjectProperties.getActivityDefaultCalendar()
Retrieve the activity default calendar for this project.
|
ProjectCalendar |
ProjectFile.getBaselineCalendar()
Retrieve the calendar used internally for timephased baseline calculation.
|
ProjectCalendar |
ProjectCalendarContainer.getByName(String calendarName)
Retrieves the named calendar.
|
ProjectCalendar |
Resource.getCalendar()
This method retrieves the calendar associated with this resource.
|
ProjectCalendar |
Task.getCalendar()
Retrieves the calendar associated with this task.
|
ProjectCalendar |
ProjectFile.getCalendarByName(String calendarName)
Retrieves the named calendar.
|
ProjectCalendar |
ProjectFile.getCalendarByUniqueID(Integer calendarID)
Retrieves the calendar referred to by the supplied unique ID
value.
|
ProjectCalendar |
ProjectFile.getDefaultCalendar()
Retrieves the default calendar for this project based on the calendar name
given in the project properties.
|
ProjectCalendar |
ProjectProperties.getDefaultCalendar()
Retrieve the default calendar for this project.
|
ProjectCalendar |
ResourceAssignment.getEffectiveCalendar()
Retrieves the effective calendar used for this resource assignment.
|
ProjectCalendar |
Task.getEffectiveCalendar()
Retrieve the effective calendar for this task.
|
ProjectCalendar |
ProjectCalendar.getParent()
Retrieve the parent calendar, or
null if the
calendar does not have a parent. |
| Modifier and Type | Method and Description |
|---|---|
List<ProjectCalendar> |
ProjectFile.getCalendarsForProject()
Retrieve all global calendars plus any project-specific calendars related to this project.
|
List<ProjectCalendar> |
ProjectCalendar.getDerivedCalendars()
Retrieve a list of calendars derived from this calendar.
|
List<ProjectCalendar> |
ProjectCalendar.getDerivedCalendarsForProject(ProjectFile project)
Retrieve a list of calendars derived from this calendar.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventManager.fireCalendarReadEvent(ProjectCalendar calendar)
This method is called to alert project listeners to the fact that
a calendar has been read from a project file.
|
void |
EventManager.fireCalendarWrittenEvent(ProjectCalendar calendar)
This method is called to alert project listeners to the fact that
a calendar has been written to a project file.
|
void |
ProjectFile.removeCalendar(ProjectCalendar calendar)
Removes a calendar.
|
void |
ProjectCalendarContainer.removed(ProjectCalendar calendar) |
void |
ProjectProperties.setActivityDefaultCalendar(ProjectCalendar calendar)
Set the activity default calendar for this project.
|
void |
Resource.setCalendar(ProjectCalendar calendar)
This method allows a pre-existing resource calendar to be attached to a
resource.
|
void |
Task.setCalendar(ProjectCalendar calendar)
Sets the calendar associated with this task.
|
void |
ProjectFile.setDefaultCalendar(ProjectCalendar calendar)
Sets the default calendar for this project.
|
void |
ProjectProperties.setDefaultCalendar(ProjectCalendar calendar)
Set the default calendar for this project.
|
void |
ProjectCalendar.setParent(ProjectCalendar calendar)
Sets the ProjectCalendar instance from which this calendar is derived.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CombinedCalendar
A calendar which represents the intersection of working time between
two other calendars.
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectCalendar |
ProjectCalendarHelper.createTemporaryDerivedCalendar(ProjectCalendar baseCalendar,
Resource resource)
Create a temporary derived calendar.
|
static ProjectCalendar |
ProjectCalendarHelper.createTemporaryFlattenedCalendar(ProjectCalendar calendar)
Creates a temporary base calendar by flattening an existing calendar's
hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectCalendar |
ProjectCalendarHelper.createTemporaryDerivedCalendar(ProjectCalendar baseCalendar,
Resource resource)
Create a temporary derived calendar.
|
static ProjectCalendar |
ProjectCalendarHelper.createTemporaryFlattenedCalendar(ProjectCalendar calendar)
Creates a temporary base calendar by flattening an existing calendar's
hierarchy.
|
static Duration |
LocalDateTimeHelper.getVariance(ProjectCalendar calendar,
LocalDateTime date1,
LocalDateTime date2,
TimeUnit format)
This utility method calculates the difference in working
time between two dates, given the context of a calendar.
|
static void |
ProjectCalendarHelper.mergeExceptions(ProjectCalendar target,
List<ProjectCalendarException> sourceExceptions)
Merge the supplied list of exceptions into the target calendar.
|
static void |
ProjectCalendarHelper.mergeExceptions(ProjectCalendar target,
ProjectCalendar source)
Merge exceptions recursively from the source calendar (and any calendars from which it is derived)
into the target calendar.
|
| Constructor and Description |
|---|
CombinedCalendar(ProjectCalendar calendar1,
ProjectCalendar calendar2)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultProjectListener.calendarRead(ProjectCalendar calendar) |
void |
ProjectListener.calendarRead(ProjectCalendar calendar)
This method is called when a calendar is read from a file.
|
void |
DefaultProjectListener.calendarWritten(ProjectCalendar calendar) |
void |
ProjectListener.calendarWritten(ProjectCalendar calendar)
This method is called when a calendar is written to a file.
|
Copyright © 2000–2026 MPXJ. All rights reserved.