Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

DateShiftTypes Enumeration

DateShiftTypes specifies the types of date-shifting methods used for copying dates from a source project to a target project. These are used in IProjectManager.CopyProjectContent method. When ITaskList is copied from one project to another, it is often desirable to shift the dates of these items so that they are relevant to the new project. This class is used to specify which of several available methods will be used to perform this date-shifting.

Two pieces of information are needed for determining how dates are shifted: See below for detailed description and examples on each of the available DateShiftTypes.
public enum DateShiftTypes

Members

Member NameDescription
None Do not perform date shifting. Copied dates will be identical to source dates.
ByDay Shift dates on a working-day basis. For example:
1) Given an event in the source project that occurs on the fifth working day of the project, we want to shift this event to a new event in the target project that occurs on the fifth working day of the target project.
2) Given an event in the source project that occurs 3 working days before the start day of the source project we want to shift it to an event that occurs three working days before the start day of the target project.
This date-shifting type provides a way of specifying the number of "working days" between a period start day and any other day. A Working Day is defined to be a day other than Saturday and Sunday and an Collaboration installation-defined list of holidays, which specifies a list of holidays using the holiday.xml configuration file (can be found within the Collaboration deployment directory).
ByWeek Shift dates on a working-week basis. For example:
Given an event in the source project that occurs on the wednesday of the second week of the source project, we want to map the event to an event that occurs on the Wednesday of the second week of the target project. The algorithm simply adds a fixed number of days to each date, where that number of days is a multiple of seven. More precisely, it is the number of days from Monday of the start week of the source project to the Monday of the start week of the target project.
ByMonth Shift dates on a working-month basis. For example:
1) Given an event in the source project that occurs on the fifth working day of the second month of the source project, we want to shift this event to a new event in the target project that occurs on the fifth working day of second month of the target project.
2) Given an event in the source project that occurs on the third-to-last working day of the first month of the project, we want to shift it to an event that occurs on the third-to-last working day of the first month of the target project.

Requirements

Namespace: Plumtree.Remote.PRC.Collaboration.Calendar

Assembly: idk (in idk.dll)

See Also

Plumtree.Remote.PRC.Collaboration.Calendar Namespace