|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.calculateditems.TimeFunctions
public class TimeFunctions
Field Summary | |
---|---|
static java.lang.String |
CUMULATIVE
This is a function that will calculate the cumulative value in measure over a period. |
static java.lang.String |
CUMULATIVE_BASE_PERIOD
This is a function that will calculate the cumulative value in measure over a period. |
static java.lang.String |
CUMULATIVE_DEFAULT_PERIOD
This is a function that will calculate the cumulative value in measure over a default period. |
static java.lang.String |
DIFFERENCE_PERIOD
This is a function that will calculate the difference in measure over a period. |
static java.lang.String |
DIFFERENCE_PREVIOUS_PERIOD
This is a function that will calculate the difference in measure between current period and previous period. |
static java.lang.String |
DIFFERENCE_PREVIOUS_YEAR
This is a function that will calculate the difference in measure between current year and previous year. |
static java.lang.String |
DIFFERENCE_YEAR
This is a function that will calculate the difference in measure over a period. |
static java.lang.String |
NONE
This is a function that will calculate the cumulative value in measure over a period. |
static java.lang.String |
PERCENTCHANGE_PERIOD
This is a function that will calculate the percentage of difference in a measure over a period. |
static java.lang.String |
PERCENTCHANGE_PREVIOUS_PERIOD
This is a function that will calculate the percentage of difference in a measure between current period and previous period. |
static java.lang.String |
PERCENTCHANGE_PREVIOUS_YEAR
This is a function that will calculate the percentage of difference in a measure between current year and previous year. |
static java.lang.String |
PERCENTCHANGE_YEAR
This is a function that will calculate the percentage of difference in a measure over a period. |
static java.lang.String |
RB_KEY
|
Constructor Summary | |
---|---|
TimeFunctions()
|
|
TimeFunctions(java.util.Locale locale)
|
Method Summary | |
---|---|
java.util.Locale |
getLocale()
|
java.lang.String |
getTimeExpression(java.lang.String functionName)
|
java.lang.String[] |
getTimeExpressionLabels()
|
java.lang.String |
getTimeFunction(java.lang.String label)
|
java.lang.String |
getTimeFunctionLabel(java.lang.String desc)
|
java.lang.String[] |
getTimeFunctionLabels()
|
java.lang.String[] |
getTimeFunctionNames()
|
static void |
main(java.lang.String[] args)
|
void |
setLocale(java.util.Locale locale)
|
Field Detail |
---|
public static final java.lang.String RB_KEY
public static final java.lang.String NONE
public static final java.lang.String DIFFERENCE_PREVIOUS_PERIOD
public static final java.lang.String DIFFERENCE_PREVIOUS_YEAR
public static final java.lang.String DIFFERENCE_PERIOD
public static final java.lang.String DIFFERENCE_YEAR
public static final java.lang.String PERCENTCHANGE_PREVIOUS_PERIOD
public static final java.lang.String PERCENTCHANGE_PREVIOUS_YEAR
public static final java.lang.String PERCENTCHANGE_PERIOD
public static final java.lang.String PERCENTCHANGE_YEAR
public static final java.lang.String CUMULATIVE
public static final java.lang.String CUMULATIVE_DEFAULT_PERIOD
public static final java.lang.String CUMULATIVE_BASE_PERIOD
Constructor Detail |
---|
public TimeFunctions(java.util.Locale locale)
public TimeFunctions()
Method Detail |
---|
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public java.lang.String getTimeFunctionLabel(java.lang.String desc)
public java.lang.String getTimeFunction(java.lang.String label)
public java.lang.String[] getTimeFunctionLabels()
public java.lang.String[] getTimeFunctionNames()
public java.lang.String[] getTimeExpressionLabels()
public java.lang.String getTimeExpression(java.lang.String functionName)
public static void main(java.lang.String[] args)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |