com.polarion.alm.tracker.calendar.IWorkingCalendar
FIELDS
Modifiers and Type | Name | Description |
---|---|---|
String | CONFIG_ID |
METHODS
Modifiers and Type | Name | Description |
---|---|---|
String | getID() | Returns unique identifier of this calendar. |
void | setID(String) | Sets unique identifier of this calendar |
String | getName() | Name of user's calendar is the id of the user, otherwise the name may be arbitrary. |
void | setName(String) | Sets name of user's calendar. |
boolean | isBaseCalendar() | Indicates whether the calendar is a base calendar. |
void | setBaseCalendar(boolean) | Sets whether the calendar is a base calendar |
String | getBaseCalendarID() | The unique ID for the base calendar on which this calendar depends; only used if this calendar is not a base calendar. |
void | setBaseCalendarID(String) | Sets the unique ID for the base calendar on which this calendar depends; only used if this calendar is not a base calendar. |
IWorkingCalendar | getBaseCalendar() | Returns the the base calendar on which this calendar depends. |
IWorkingDay | getWorkingWeekDay(int,boolean) | Returns working day for a typical (with no specific definition) week day. |
IWorkingDay | getWorkingDay(long,boolean) | Returns working day for particular date (specific definitions are taken into account). |
IWorkingDay[] | getWorkingDays(boolean) | Returns all working days defined in this calendar; working days from base calendar may be included as well (working days from this calendar are in the beginning of the list). |
void | setWorkingDays(IWorkingDay[]) | Sets working days defined for this calendar. |
int | numberOfWorkingDays(Date,Date) | Returns number of working days from the 'startDate' to the 'endDate' inclusive. |
Back to Index