Skip navigation links


com.essbase.eas.essbase.defs.outline
Class TimeDimConstants

java.lang.Object
  extended by com.essbase.eas.essbase.defs.outline.TimeDimConstants


public class TimeDimConstants
extends java.lang.Object

Field Summary
static short APR
           
static short AUG
           
static java.lang.String[] CALENDAR_STRING
           
static java.lang.String[] DATE_FORMATS
           
static java.lang.String[] DAY_BY_
           
static java.lang.String DAY_NAME_RULE_DEFAULT
           
static short DEC
           
static short EMPTY
           
static short FEB
           
static short FISCAL
          IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
static short GREGORIAN
          IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
static java.lang.String[] HIERARCHY_MACROS
           
static short ISO
          IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
static short JAN
           
static short JUL
           
static short JUN
           
static byte LABEL_RULE_DISPLAY_INDEX
           
static byte LABEL_RULE_EXAMPLE_INDEX
           
static byte LABEL_RULE_INDEX
           
static java.lang.String[][] LVA_DIM_NAME
           
static java.lang.String[][] LVA_NAME_RULE
           
static java.lang.String[][] LVA_NAME_RULE_PREFIX
           
static short MANUFACTURING
          IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
static short MAR
           
static short MAY
           
static short MERGE_AUTO
           
static short MERGE_FIRST
           
static short MERGE_LAST
           
static java.lang.String MON_NAME_RULE_DEFAULT
           
static short MONTH_445
           
static short MONTH_BASED
           
static java.lang.String[] MONTH_BY_
           
static short MONTH_DATE
           
static short MONTH_WK_CONTAINS_DATE
           
static short MONTH_WK_FOLLOWS_DATE
           
static short MONTH_WK_NUM
           
static short NO_OP
           
static short NONE_BASED
           
static short NOV
           
static short OCT
           
static long ONE_YEAR_IN_MILLS
           
static short PERIOD_BASED
           
static java.lang.String[] PERIOD_BY_
           
static java.lang.String PRD_NAME_RULE_DEFAULT
           
static short Q1
           
static short Q2
           
static short Q3
           
static short Q4
           
static short QPATTERN_445
           
static short QPATTERN_454
           
static short QPATTERN_544
           
static java.lang.String QTR_NAME_RULE_DEFAULT
           
static java.lang.String[] QUARTER_BY_
           
static short RETAIL
          IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
static java.lang.String SEM_NAME_RULE_DEFAULT
           
static java.lang.String[] SEMESTER_BY_
           
static short SEP
           
static java.lang.String[] TIME_RANGE_MACROS
           
static short TP_DAY
           
static short TP_MONTH
           
static short TP_PERIOD
           
static short TP_QUARTER
           
static short TP_ROOT
           
static short TP_SEMESTER
           
static short TP_TRIMESTER
           
static short TP_WEEK
           
static short TP_YEAR
           
static java.lang.String TRI_NAME_RULE_DEFAULT
           
static java.lang.String[] TRIMESTER_BY_
           
static java.lang.String[] WEEK_BY_
           
static short WK_FRI
           
static short WK_MON
           
static java.lang.String WK_NAME_RULE_DEFAULT
           
static short WK_SAT
           
static short WK_SUN
           
static short WK_THU
           
static short WK_TUE
           
static short WK_WED
           
static java.lang.String[] YEAR_BY_
           
static short YEAR_OPTIONS
           
static short YR_DATE
           
static short YR_ISO8601
           
static java.lang.String YR_NAME_RULE_DEFAULT
           
static short YR_RETAIL
           
static short YR_WK_CONTAINS_DATE
           
static short YR_WK_CONTAINS_DATE_C
           
static short YR_WK_FOLLOWS_DATE
           
static short YR_WK_NUM_MON
           
static short YR_WK_NUM_MON_C
           

 

Constructor Summary
TimeDimConstants()
           

 

Method Summary
static java.lang.String[][] createDayLabellingRules()
           
static java.lang.String[][] createMonthLabellingRulesByQuarter(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createMonthLabellingRulesBySemester(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createMonthLabellingRulesByTrimester(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createMonthLabellingRulesByYear(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createMonthLabellingRulesUniversal(boolean year2Digit)
           
static java.lang.String[][] createPeriodLabelingRulesByDay()
           
static java.lang.String[][] createPeriodLabelingRulesByQuarter(boolean year2Digit)
           
static java.lang.String[][] createPeriodLabelingRulesBySemester(boolean year2Digit)
           
static java.lang.String[][] createPeriodLabelingRulesByWeek()
           
static java.lang.String[][] createPeriodLabelingRulesByYear(boolean year2Digit)
           
static java.lang.String[][] createQuarterLabellingRulesBySemester(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createQuarterLabellingRulesByYear(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createSemesterLabellingRules(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createTrimesterLabellingRules(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createWeekLabellingRulesByMonth(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createWeekLabellingRulesByQuarter(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createWeekLabellingRulesBySemester(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createWeekLabellingRulesByYear(int calendarType, boolean year2Digit)
           
static java.lang.String[][] createYearLabellingRules(int calendarType, boolean year2Digit)
           
static java.lang.String getCalendarStringForLabeling_Rules(int index)
           
static java.lang.String getExampleDateFormat(java.lang.String formatString)
           
static java.lang.String getExampleFromRule(java.lang.String ruleStr)
           
static long getStartDate()
           
static java.lang.String getYear(boolean year2Digit)
           
static void setStartDate(long date)
           

 

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

 

Field Detail

ONE_YEAR_IN_MILLS

public static long ONE_YEAR_IN_MILLS

WK_SUN

public static final short WK_SUN
See Also:
Constant Field Values

WK_MON

public static final short WK_MON
See Also:
Constant Field Values

WK_TUE

public static final short WK_TUE
See Also:
Constant Field Values

WK_WED

public static final short WK_WED
See Also:
Constant Field Values

WK_THU

public static final short WK_THU
See Also:
Constant Field Values

WK_FRI

public static final short WK_FRI
See Also:
Constant Field Values

WK_SAT

public static final short WK_SAT
See Also:
Constant Field Values

Q1

public static final short Q1
See Also:
Constant Field Values

Q2

public static final short Q2
See Also:
Constant Field Values

Q3

public static final short Q3
See Also:
Constant Field Values

Q4

public static final short Q4
See Also:
Constant Field Values

QPATTERN_544

public static final short QPATTERN_544
See Also:
Constant Field Values

QPATTERN_454

public static final short QPATTERN_454
See Also:
Constant Field Values

QPATTERN_445

public static final short QPATTERN_445
See Also:
Constant Field Values

TP_ROOT

public static final short TP_ROOT
See Also:
Constant Field Values

TP_YEAR

public static final short TP_YEAR
See Also:
Constant Field Values

TP_SEMESTER

public static final short TP_SEMESTER
See Also:
Constant Field Values

TP_TRIMESTER

public static final short TP_TRIMESTER
See Also:
Constant Field Values

TP_QUARTER

public static final short TP_QUARTER
See Also:
Constant Field Values

TP_MONTH

public static final short TP_MONTH
See Also:
Constant Field Values

TP_PERIOD

public static final short TP_PERIOD
See Also:
Constant Field Values

TP_WEEK

public static final short TP_WEEK
See Also:
Constant Field Values

TP_DAY

public static final short TP_DAY
See Also:
Constant Field Values

MERGE_FIRST

public static final short MERGE_FIRST
See Also:
Constant Field Values

MERGE_LAST

public static final short MERGE_LAST
See Also:
Constant Field Values

MERGE_AUTO

public static final short MERGE_AUTO
See Also:
Constant Field Values

NO_OP

public static final short NO_OP
See Also:
Constant Field Values

NONE_BASED

public static final short NONE_BASED
See Also:
Constant Field Values

MONTH_BASED

public static final short MONTH_BASED
See Also:
Constant Field Values

PERIOD_BASED

public static final short PERIOD_BASED
See Also:
Constant Field Values

MONTH_WK_NUM

public static final short MONTH_WK_NUM
See Also:
Constant Field Values

MONTH_WK_CONTAINS_DATE

public static final short MONTH_WK_CONTAINS_DATE
See Also:
Constant Field Values

MONTH_WK_FOLLOWS_DATE

public static final short MONTH_WK_FOLLOWS_DATE
See Also:
Constant Field Values

MONTH_DATE

public static final short MONTH_DATE
See Also:
Constant Field Values

MONTH_445

public static final short MONTH_445
See Also:
Constant Field Values

YR_WK_NUM_MON

public static final short YR_WK_NUM_MON
See Also:
Constant Field Values

YR_WK_NUM_MON_C

public static final short YR_WK_NUM_MON_C
See Also:
Constant Field Values

YR_WK_CONTAINS_DATE

public static final short YR_WK_CONTAINS_DATE
See Also:
Constant Field Values

YR_WK_CONTAINS_DATE_C

public static final short YR_WK_CONTAINS_DATE_C
See Also:
Constant Field Values

YR_WK_FOLLOWS_DATE

public static final short YR_WK_FOLLOWS_DATE
See Also:
Constant Field Values

YR_DATE

public static final short YR_DATE
See Also:
Constant Field Values

YR_ISO8601

public static final short YR_ISO8601
See Also:
Constant Field Values

YR_RETAIL

public static final short YR_RETAIL
See Also:
Constant Field Values

EMPTY

public static final short EMPTY
See Also:
Constant Field Values

JAN

public static final short JAN
See Also:
Constant Field Values

FEB

public static final short FEB
See Also:
Constant Field Values

MAR

public static final short MAR
See Also:
Constant Field Values

APR

public static final short APR
See Also:
Constant Field Values

MAY

public static final short MAY
See Also:
Constant Field Values

JUN

public static final short JUN
See Also:
Constant Field Values

JUL

public static final short JUL
See Also:
Constant Field Values

AUG

public static final short AUG
See Also:
Constant Field Values

SEP

public static final short SEP
See Also:
Constant Field Values

OCT

public static final short OCT
See Also:
Constant Field Values

NOV

public static final short NOV
See Also:
Constant Field Values

DEC

public static final short DEC
See Also:
Constant Field Values

YEAR_BY_

public static final java.lang.String[] YEAR_BY_

SEMESTER_BY_

public static final java.lang.String[] SEMESTER_BY_

TRIMESTER_BY_

public static final java.lang.String[] TRIMESTER_BY_

QUARTER_BY_

public static final java.lang.String[] QUARTER_BY_

MONTH_BY_

public static final java.lang.String[] MONTH_BY_

PERIOD_BY_

public static final java.lang.String[] PERIOD_BY_

WEEK_BY_

public static final java.lang.String[] WEEK_BY_

DAY_BY_

public static final java.lang.String[] DAY_BY_

TIME_RANGE_MACROS

public static final java.lang.String[] TIME_RANGE_MACROS

HIERARCHY_MACROS

public static final java.lang.String[] HIERARCHY_MACROS

DATE_FORMATS

public static final java.lang.String[] DATE_FORMATS

GREGORIAN

public static final short GREGORIAN
IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
See Also:
Constant Field Values

FISCAL

public static final short FISCAL
IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
See Also:
Constant Field Values

MANUFACTURING

public static final short MANUFACTURING
IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
See Also:
Constant Field Values

RETAIL

public static final short RETAIL
IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
See Also:
Constant Field Values

ISO

public static final short ISO
IMPORTANT: When there is an update in the below calendar constants, then make sure that the same is updated in for CALENDAR_STRING.
See Also:
Constant Field Values

CALENDAR_STRING

public static java.lang.String[] CALENDAR_STRING

YR_NAME_RULE_DEFAULT

public static final java.lang.String YR_NAME_RULE_DEFAULT
See Also:
Constant Field Values

SEM_NAME_RULE_DEFAULT

public static final java.lang.String SEM_NAME_RULE_DEFAULT
See Also:
Constant Field Values

TRI_NAME_RULE_DEFAULT

public static final java.lang.String TRI_NAME_RULE_DEFAULT
See Also:
Constant Field Values

QTR_NAME_RULE_DEFAULT

public static final java.lang.String QTR_NAME_RULE_DEFAULT
See Also:
Constant Field Values

MON_NAME_RULE_DEFAULT

public static final java.lang.String MON_NAME_RULE_DEFAULT
See Also:
Constant Field Values

PRD_NAME_RULE_DEFAULT

public static final java.lang.String PRD_NAME_RULE_DEFAULT
See Also:
Constant Field Values

WK_NAME_RULE_DEFAULT

public static final java.lang.String WK_NAME_RULE_DEFAULT
See Also:
Constant Field Values

DAY_NAME_RULE_DEFAULT

public static final java.lang.String DAY_NAME_RULE_DEFAULT
See Also:
Constant Field Values

LVA_DIM_NAME

public static final java.lang.String[][] LVA_DIM_NAME

LVA_NAME_RULE

public static final java.lang.String[][] LVA_NAME_RULE

LVA_NAME_RULE_PREFIX

public static final java.lang.String[][] LVA_NAME_RULE_PREFIX

LABEL_RULE_EXAMPLE_INDEX

public static final byte LABEL_RULE_EXAMPLE_INDEX
See Also:
Constant Field Values

LABEL_RULE_DISPLAY_INDEX

public static final byte LABEL_RULE_DISPLAY_INDEX
See Also:
Constant Field Values

LABEL_RULE_INDEX

public static final byte LABEL_RULE_INDEX
See Also:
Constant Field Values

YEAR_OPTIONS

public static final short YEAR_OPTIONS
See Also:
Constant Field Values

Constructor Detail

TimeDimConstants

public TimeDimConstants()

Method Detail

getYear

public static java.lang.String getYear(boolean year2Digit)

getExampleDateFormat

public static java.lang.String getExampleDateFormat(java.lang.String formatString)

setStartDate

public static void setStartDate(long date)

getStartDate

public static long getStartDate()

createYearLabellingRules

public static java.lang.String[][] createYearLabellingRules(int calendarType,
                                                            boolean year2Digit)

createSemesterLabellingRules

public static java.lang.String[][] createSemesterLabellingRules(int calendarType,
                                                                boolean year2Digit)

createTrimesterLabellingRules

public static java.lang.String[][] createTrimesterLabellingRules(int calendarType,
                                                                 boolean year2Digit)

createQuarterLabellingRulesByYear

public static java.lang.String[][] createQuarterLabellingRulesByYear(int calendarType,
                                                                     boolean year2Digit)

createQuarterLabellingRulesBySemester

public static java.lang.String[][] createQuarterLabellingRulesBySemester(int calendarType,
                                                                         boolean year2Digit)

createMonthLabellingRulesByYear

public static java.lang.String[][] createMonthLabellingRulesByYear(int calendarType,
                                                                   boolean year2Digit)

createMonthLabellingRulesBySemester

public static java.lang.String[][] createMonthLabellingRulesBySemester(int calendarType,
                                                                       boolean year2Digit)

createMonthLabellingRulesByTrimester

public static java.lang.String[][] createMonthLabellingRulesByTrimester(int calendarType,
                                                                        boolean year2Digit)

createMonthLabellingRulesByQuarter

public static java.lang.String[][] createMonthLabellingRulesByQuarter(int calendarType,
                                                                      boolean year2Digit)

createMonthLabellingRulesUniversal

public static java.lang.String[][] createMonthLabellingRulesUniversal(boolean year2Digit)

createPeriodLabelingRulesByYear

public static java.lang.String[][] createPeriodLabelingRulesByYear(boolean year2Digit)

createPeriodLabelingRulesBySemester

public static java.lang.String[][] createPeriodLabelingRulesBySemester(boolean year2Digit)

createPeriodLabelingRulesByQuarter

public static java.lang.String[][] createPeriodLabelingRulesByQuarter(boolean year2Digit)

createPeriodLabelingRulesByWeek

public static java.lang.String[][] createPeriodLabelingRulesByWeek()

createPeriodLabelingRulesByDay

public static java.lang.String[][] createPeriodLabelingRulesByDay()

createWeekLabellingRulesByYear

public static java.lang.String[][] createWeekLabellingRulesByYear(int calendarType,
                                                                  boolean year2Digit)

createWeekLabellingRulesBySemester

public static java.lang.String[][] createWeekLabellingRulesBySemester(int calendarType,
                                                                      boolean year2Digit)

createWeekLabellingRulesByQuarter

public static java.lang.String[][] createWeekLabellingRulesByQuarter(int calendarType,
                                                                     boolean year2Digit)

createWeekLabellingRulesByMonth

public static java.lang.String[][] createWeekLabellingRulesByMonth(int calendarType,
                                                                   boolean year2Digit)

createDayLabellingRules

public static java.lang.String[][] createDayLabellingRules()

getExampleFromRule

public static java.lang.String getExampleFromRule(java.lang.String ruleStr)

getCalendarStringForLabeling_Rules

public static java.lang.String getCalendarStringForLabeling_Rules(int index)

Skip navigation links


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