Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.adf.view.faces.bi.component.gantt
Class GanttCalendar

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.gantt.GanttCalendar

All Implemented Interfaces:
GanttConstants

Deprecated. This is an internal class. Should never have been exposed publicly. Deprecated as of 5/7/2010.

@Deprecated
public class GanttCalendar
extends java.lang.Object
implements GanttConstants

This class is designed for navigating and manipulating dates/time in Gantt charts. Application developers should never need to use this class directly.


Field Summary

 

Fields inherited from interface oracle.adf.view.faces.bi.component.gantt.GanttConstants
ACTUAL_END_TIME, ACTUAL_START_TIME, APRIL, AUGUST, BOTTOM, CENTER, COMPLETED_THROUGH, CRITICAL, CUSTOM_SCALE, CUSTOM_SCALE_STR, DAYS, DECEMBER, DEPENDENCIES, DEPENDENCY_TYPE, 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, NORMAL, NOVEMBER, NUMSCALES, OCTOBER, PERCENT_COMPLETE, QUARTERHOURS, QUARTERS, RECURRING_TASK_ID, RECURRING_TASKS, RESOURCE_ID, RESOURCE_NAME, RIGHT, 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, 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 Summary
GanttCalendar(java.util.Locale locale, java.util.TimeZone timezone, boolean isThaiGregorian)
          Deprecated. Application developers should never need to use this class directly.

 

Method Summary
 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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GanttCalendar

@Deprecated
public GanttCalendar(java.util.Locale locale,
                                java.util.TimeZone timezone,
                                boolean isThaiGregorian)
Deprecated. Application developers should never need to use this class directly.
Parameters:
isThaiGregorian - true if Thai locale should always use a Gregorian calendar, false if a default JDK Calendar for Thai locale should be used
For internal use only. Application developers should not use this
Constructor

Method Detail

getCalendar

@Deprecated
public java.util.Calendar getCalendar()
Deprecated. Application developers should never need to use this class directly.
For internal use only. Application developers should not use this

setFirstMonthOfYear

@Deprecated
public void setFirstMonthOfYear(int month)
Deprecated. Application developers should never need to use this class directly.
Parameters:
month - an integer constant defined in java.util.Calendar, for example, Calendar.SEPTEMBER
For internal use only. Application developers should not use this
Sets the first month of year.

getFirstMonthOfYear

@Deprecated
public int getFirstMonthOfYear()
Deprecated. Application developers should never need to use this class directly.
Returns:
an integer constant defined in java.util.Calendar, for example, Calendar.SEPTEMBER
For internal use only. Application developers should not use this
Gets the first month of year.

setFirstDayOfWeek

@Deprecated
public void setFirstDayOfWeek(int day)
Deprecated. Application developers should never need to use this class directly.
Parameters:
day - an integer constant defined in java.util.Calendar, for example, Calendar.SUNDAY
For internal use only. Application developers should not use this
Sets the first day of week.

getFirstDayOfWeek

@Deprecated
public int getFirstDayOfWeek()
Deprecated. Application developers should never need to use this class directly.
Returns:
day an integer constant defined in java.util.Calendar, for example, Calendar.SUNDAY
For internal use only. Application developers should not use this
Gets the first day of week.

adjustDate

@Deprecated
public java.util.Date adjustDate(java.util.Date date,
                                            int scale,
                                            boolean up)
Deprecated. Application developers should never need to use this class directly.
Parameters:
date - the time to be adjusted
scale - 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
Returns:
the adjusted date
For internal use only. Application developers should not use this
Adjusts a date to the beginning or the end of a time period specified by the scale (day, week, month, etc.)

getNextDate

@Deprecated
public java.util.Date getNextDate(java.util.Date date,
                                             int scale,
                                             boolean up)
Deprecated. Application developers should never need to use this class directly.
Parameters:
date - the input date
scale - a step for determining the next date
up - true if the next date should be found after the input date, false if it should be found before
Returns:
the next date
For internal use only. Application developers should not use this
Gets the next date according to the scale (day, week, month, etc.)

getNextDayOfWeek

@Deprecated
public java.util.Date getNextDayOfWeek(java.util.Date date,
                                                  int dayOfWeek)
Deprecated. Application developers should never need to use this class directly.
Parameters:
date - start date
dayOfWeek - day of week
Returns:
the next date with the same day of week
For internal use only. Application developers should not use this
Gets the first date corresponding to a given day of week starting with a given date. For example, this method could be used to find the next Sunday.

getCount

@Deprecated
public int getCount(java.util.Date date,
                               int scale)
Deprecated. Application developers should never need to use this class directly.
Parameters:
date - the input date
scale - scale for determining date count
For internal use only. Application developers should not use this
Gets the date "count" for a given scale. For "days" it will be the day of week, 0-6 starting with the first day of the week, which is based on locale if not explicitly set; for "weeks" it will be the week of month, 0-4; for "months" it will be the month of year, 0-11; for "quarters" it is the quarter of year, 0-3; for "half years" it is the half of year, 0-1; and for "years" it is always 0

convertScale

@Deprecated
public static int convertScale(java.lang.String scale)
                        throws InvalidScaleException
Deprecated. Application developers should never need to use this class directly.
Parameters:
string - scale
Returns:
integer scale
Throws:
InvalidScaleException
For internal use only. Application developers should not use this
Converts a string scale to integer constant

convertScale

@Deprecated
public static java.lang.String convertScale(int scale)
                                     throws InvalidScaleException
Deprecated. Application developers should never need to use this class directly.
Parameters:
integer - scale
Returns:
string scale
Throws:
InvalidScaleException
For internal use only. Application developers should not use this
Converts an integer scale to string constant

convertMonth

@Deprecated
public static int convertMonth(java.lang.String month)
Deprecated. Application developers should never need to use this class directly.
Parameters:
string - month
Returns:
int month
For internal use only. Application developers should not use this
Converts a string month constant to integer

convertDay

@Deprecated
public static int convertDay(java.lang.String day)
Deprecated. Application developers should never need to use this class directly.
Parameters:
string - day of week
Returns:
int day of week
For internal use only. Application developers should not use this
Converts a string day constant to integer

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


Copyright © 1997, 2012, Oracle. All rights reserved.