@Deprecated public class GanttCalendar extends java.lang.Object implements GanttConstants
ACTUAL_END_TIME, ACTUAL_START_TIME, APRIL, AUGUST, BACKGROUND_BAR_TYPE, BACKGROUND_BARS, BOTTOM, CENTER, COMPLETED_THROUGH, CRITICAL, CUSTOM_SCALE, CUSTOM_SCALE_STR, DAYS, DECEMBER, DEPENDENCIES, DEPENDENCY_TYPE, EDITS_ALLOWED, END_TIME, FEBRUARY, FINISH_FINISH, FINISH_START, FRIDAY, FROM_ID, HALFHOURS, HALFYEARS, HOURS, ICON_ALIGN, ICON1, ICON2, ICON3, INNER_CENTER, INNER_LEFT, INNER_RIGHT, INSIDE, IS_CONTAINER, JANUARY, JULY, JUNE, LABEL, LABEL_ALIGN, LABELS, LEFT, MARCH, MAY, MILESTONE, MONDAY, MONTHS, NO_EDITSALLOWED, NORMAL, NOVEMBER, NUMSCALES, OCTOBER, PERCENT_COMPLETE, QUARTERHOURS, QUARTERS, RECURRING_TASK_ID, RECURRING_TASKS, RESOURCE_ID, RESOURCE_NAME, RIGHT, RUG_ATTRIBUTE_FORMAT_LABELS, RUG_ATTRIBUTE_LABELS, RUG_ATTRIBUTE_VALUES, SATURDAY, SEPTEMBER, SHUTDOWN_TIME, SIXHOURS, SPLIT_TASK_ID, SPLIT_TASKS, START_FINISH, START_START, START_TIME, STARTUP_TIME, SUBRESOURCES, SUBTASKS, SUBTYPE, SUMMARY, SUNDAY, TASK_ID, TASK_TYPE, TASKS, THREEHOURS, THURSDAY, TIME, TIMEBUCKETDETAILS, TIMEBUCKETS, TO_ID, TOP, TUESDAY, TWOMONTHS, TWOWEEKS, TWOYEARS, UNDEFINED_SCALE, VALUES, WEDNESDAY, WEEKS, WORKING_DAYS_OF_THE_WEEK, WORKING_END_TIME, WORKING_START_TIME, YEARS| Constructor and Description |
|---|
GanttCalendar(java.util.Locale locale,
java.util.TimeZone timezone,
boolean isThaiGregorian)
Deprecated.
Application developers should never need to use this class directly.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
adjustDate(java.util.Date date,
int scale,
boolean up)
Deprecated.
Application developers should never need to use this class directly.
|
static int |
convertDay(java.lang.String day)
Deprecated.
Application developers should never need to use this class directly.
|
static int |
convertMonth(java.lang.String month)
Deprecated.
Application developers should never need to use this class directly.
|
static java.lang.String |
convertScale(int scale)
Deprecated.
Application developers should never need to use this class directly.
|
static int |
convertScale(java.lang.String scale)
Deprecated.
Application developers should never need to use this class directly.
|
java.util.Calendar |
getCalendar()
Deprecated.
Application developers should never need to use this class directly.
|
int |
getCount(java.util.Date date,
int scale)
Deprecated.
Application developers should never need to use this class directly.
|
int |
getFirstDayOfWeek()
Deprecated.
Application developers should never need to use this class directly.
|
int |
getFirstMonthOfYear()
Deprecated.
Application developers should never need to use this class directly.
|
java.util.Date |
getNextDate(java.util.Date date,
int scale,
boolean up)
Deprecated.
Application developers should never need to use this class directly.
|
java.util.Date |
getNextDayOfWeek(java.util.Date date,
int dayOfWeek)
Deprecated.
Application developers should never need to use this class directly.
|
void |
setFirstDayOfWeek(int day)
Deprecated.
Application developers should never need to use this class directly.
|
void |
setFirstMonthOfYear(int month)
Deprecated.
Application developers should never need to use this class directly.
|
@Deprecated
@Concealed
public GanttCalendar(java.util.Locale locale,
java.util.TimeZone timezone,
boolean isThaiGregorian)
isThaiGregorian - true if Thai locale should always use a Gregorian
calendar, false if a default JDK Calendar for Thai locale should be used@Deprecated @Concealed public java.util.Calendar getCalendar()
@Deprecated @Concealed public void setFirstMonthOfYear(int month)
month - an integer constant defined in java.util.Calendar,
for example, Calendar.SEPTEMBER@Deprecated @Concealed public int getFirstMonthOfYear()
@Deprecated @Concealed public void setFirstDayOfWeek(int day)
day - an integer constant defined in java.util.Calendar,
for example, Calendar.SUNDAY@Deprecated @Concealed public int getFirstDayOfWeek()
@Deprecated
@Concealed
public java.util.Date adjustDate(java.util.Date date,
int scale,
boolean up)
date - the time to be adjustedscale - adjustment scale.up - true if date should be adjusted forward to the end of a scale
period, false if the date should be adjusted to the beginning of
a scale period@Deprecated
@Concealed
public java.util.Date getNextDate(java.util.Date date,
int scale,
boolean up)
date - the input datescale - a step for determining the next dateup - true if the next date should be found after the input date,
false if it should be found before@Deprecated
@Concealed
public java.util.Date getNextDayOfWeek(java.util.Date date,
int dayOfWeek)
date - start datedayOfWeek - day of week@Deprecated
@Concealed
public int getCount(java.util.Date date,
int scale)
date - the input datescale - scale for determining date count@Deprecated
@Concealed
public static int convertScale(java.lang.String scale)
throws InvalidScaleException
string - scaleInvalidScaleException@Deprecated
@Concealed
public static java.lang.String convertScale(int scale)
throws InvalidScaleException
integer - scaleInvalidScaleException@Deprecated @Concealed public static int convertMonth(java.lang.String month)
string - month@Deprecated @Concealed public static int convertDay(java.lang.String day)
string - day of week