|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.uwl.DateFilterEnum
public final class DateFilterEnum
The DateFilterEnum class could be used for filtering on date attributes relatively.
For example, filter expression for the due dates in next 3 months could be
expressed in either of the following ways:
<Condition name="dueDate" comparator="equals" value="Next_3_Months">
or
<Condition name="dueDate" comparator="lessThan" value="Next_3_Months">
The value part should match the constants defined in this file.
All possible fixed "value" are
<Condition name="dueDate" comparator="equals" value="2003.12.25">
or
<Condition name="dueDate" comparator="lessThan" value="2004.12.31 10:00:00 pm">
ComparatorEnum,
SimpleDateFormat,
Serialized Form| Field Summary | |
|---|---|
static DateFilterEnum |
ASAP
This indicates the dates which are marked as ASAP. |
static String |
FORMAT_DB
Format understandable by OpenSql Database yyyy-MM-dd HH:mm:ss |
static String |
FORMAT_LONG_EU
yyyy.MM.dd hh:mm:ss a format for European type of date representation eg. 2004.12.31 16:40:12 It is necessary to specify the time part completely in this format. |
static String |
FORMAT_LONG_US
yyyy.MM.dd hh:mm:ss a format for US type of date representation eg.2004.12.31 10:00:00 pm It is necessary to specify the time part completely in this format. |
static String |
FORMAT_R3
Format understandable by R3. |
static String |
FORMAT_SHORT
yyyy.MM.dd format eg: 2004.12.31 |
static DateFilterEnum |
FOURTH_LAST_WEEK_AND_BEYOND
This indicates the previous fourth week and beyond in reference to "this week". |
static DateFilterEnum |
FOURTH_NEXT_WEEK_AND_NEWER
This indicates the next fourth week and newer in reference to "this week". |
static int |
I_ASAP
|
static int |
I_FOURTH_LAST_WEEK_AND_BEYOND
|
static int |
I_FOURTH_NEXT_WEEK_AND_NEWER
|
static int |
I_LAST_3_MONTHS
This indicates the previous three months in reference to "today". |
static int |
I_LAST_30_DAYS
This indicates rolling last 30 or 31 days. |
static int |
I_LAST_365_DAYS
This indicates rolling last 365 or 366 days. |
static int |
I_LAST_7_DAYS
This indicates rolling last 7 days. |
static int |
I_LAST_90_DAYS
This indicates rolling last 90/91/92 days. |
static int |
I_LAST_MONTH
This indicates the previous month in reference to "today". |
static int |
I_LAST_WEEK
This indicates the previous week in reference to "this week". |
static int |
I_LAST_YEAR
This indicates the last year in reference to "this year". |
static int |
I_NEXT_3_MONTHS
This indicates the next three months in reference to "today". |
static int |
I_NEXT_30_DAYS
This indicates rolling next 30 or 31 days. |
static int |
I_NEXT_365_DAYS
This indicates rolling last 365 or 366 days. |
static int |
I_NEXT_7_DAYS
This indicates rolling next 7 days. |
static int |
I_NEXT_90_DAYS
This indicates rolling next 90/91/92 days. |
static int |
I_NEXT_MONTH
This indicates the next month in reference to "today". |
static int |
I_NEXT_WEEK
This indicates the next week in reference to "this week". |
static int |
I_NEXT_YEAR
This indicates the next year in reference to "this year". |
static int |
I_OVERDUE
|
static int |
I_SECOND_LAST_WEEK
|
static int |
I_SECOND_NEXT_WEEK
|
static int |
I_THIRD_LAST_WEEK
|
static int |
I_THIRD_NEXT_WEEK
|
static int |
I_THIS_FRIDAY
|
static int |
I_THIS_MONDAY
|
static int |
I_THIS_MONTH
This indicates the current month that contains "today". |
static int |
I_THIS_SATURDAY
|
static int |
I_THIS_SUNDAY
|
static int |
I_THIS_THURSDAY
|
static int |
I_THIS_TUESDAY
|
static int |
I_THIS_WEDNESDAY
|
static int |
I_THIS_WEEK
This indicates the current week that contains "today". |
static int |
I_THIS_YEAR
This indicates this year that contains "today". |
static int |
I_TODAY
This indicates "today". |
static int |
I_TOMORROW
This indicates Tomorrow |
static int |
I_UNDEFINED
This indicates the undefined date filter which is equal to "today" (as of November 12, 2003). |
static int |
I_YESTERDAY
This indicates Yesterday |
static DateFilterEnum |
LAST_3_MONTHS
This indicates the previous three months in reference to "today". |
static DateFilterEnum |
LAST_30_DAYS
This indicates "Last_30_Days".Doesnt include today. |
static DateFilterEnum |
LAST_365_DAYS
This indicates "Last_365_Days". |
static DateFilterEnum |
LAST_7_DAYS
This indicates "Last_7_Days". |
static DateFilterEnum |
LAST_90_DAYS
This indicates "Last_90_Days". |
static DateFilterEnum |
LAST_MONTH
This indicates the previous month in reference to "today". |
static DateFilterEnum |
LAST_WEEK
This indicates the previous week in reference to "this week". |
static DateFilterEnum |
LAST_YEAR
This indicates the last year in reference to "this year". |
static DateFilterEnum |
NEXT_3_MONTHS
This indicates the next three months in reference to "today". |
static DateFilterEnum |
NEXT_30_DAYS
This indicates "Next_30_Days".Doesnt include today. |
static DateFilterEnum |
NEXT_365_DAYS
This indicates "Next_365_Days". |
static DateFilterEnum |
NEXT_7_DAYS
This indicates "Next_7_Days". |
static DateFilterEnum |
NEXT_90_DAYS
This indicates "Next_90_Days". |
static DateFilterEnum |
NEXT_MONTH
This indicates the next month in reference to "today". |
static DateFilterEnum |
NEXT_WEEK
This indicates the next week in reference to "this week". |
static DateFilterEnum |
NEXT_YEAR
This indicates the next year in reference to "this year". |
static DateFilterEnum |
OVERDUE
This indicates All which are due after "today". |
protected static String |
RESOURCE_PREFIX
|
static DateFilterEnum |
SECOND_LAST_WEEK
This indicates the previous second week in reference to "this week". |
static DateFilterEnum |
SECOND_NEXT_WEEK
This indicates the next second week in reference to "this week". |
static DateFilterEnum |
THIRD_LAST_WEEK
This indicates the previous third week in reference to "this week". |
static DateFilterEnum |
THIRD_NEXT_WEEK
This indicates the next third week in reference to "this week". |
static DateFilterEnum |
THIS_FRIDAY
This indicates Friday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_MONDAY
This indicates Monday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_MONTH
This indicates the current month that contains "today". |
static DateFilterEnum |
THIS_SATURDAY
This indicates Saturday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_SUNDAY
This indicates Sunday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_THURSDAY
This indicates Thursday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_TUESDAY
This indicates Tuesday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_WEDNESDAY
This indicates Wednesday in reference to the week "today" is in. |
static DateFilterEnum |
THIS_WEEK
This indicates the current week that contains "today". |
static DateFilterEnum |
THIS_YEAR
This indicates this year that contains "today". |
static DateFilterEnum |
TODAY
This indicates "today". |
static DateFilterEnum |
TOMORROW
This indicates "Tomorrow". |
static DateFilterEnum |
UNDEFINED
This indicates the undefined date filter which is equal to "today" (as of November 12, 2003). |
static TimeZone |
UTC
Represents the UTC Timezone instance. |
static DateFilterEnum |
YESTERDAY
This indicates "Yesterday". |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static DateFilterEnum |
getEnumFromKey(String key)
|
static Iterator |
getIterator()
|
String |
getText()
Returns the readable text like "Today","LastWeek" etc. |
String |
getText(Locale locale)
Return the Display text for this enum type. |
int |
getType()
|
static SimpleDateFormat |
getUtcFormatter(String format,
Locale loc)
returns UTC timezone formatter to be used for formatting the strings. |
String |
getValue()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String RESOURCE_PREFIX
public static final TimeZone UTC
public static final String FORMAT_SHORT
public static final String FORMAT_LONG_US
public static final String FORMAT_LONG_EU
public static final String FORMAT_DB
public static final String FORMAT_R3
public static final int I_TODAY
public static final int I_UNDEFINED
public static final int I_TOMORROW
public static final int I_YESTERDAY
public static final int I_LAST_7_DAYS
public static final int I_NEXT_7_DAYS
public static final int I_THIS_WEEK
public static final int I_LAST_WEEK
public static final int I_NEXT_WEEK
public static final int I_LAST_30_DAYS
public static final int I_NEXT_30_DAYS
public static final int I_THIS_MONTH
public static final int I_LAST_MONTH
public static final int I_NEXT_MONTH
public static final int I_LAST_90_DAYS
public static final int I_NEXT_90_DAYS
public static final int I_LAST_3_MONTHS
public static final int I_NEXT_3_MONTHS
public static final int I_LAST_365_DAYS
public static final int I_NEXT_365_DAYS
public static final int I_THIS_YEAR
public static final int I_LAST_YEAR
public static final int I_NEXT_YEAR
public static final int I_FOURTH_NEXT_WEEK_AND_NEWER
public static final int I_THIRD_NEXT_WEEK
public static final int I_SECOND_NEXT_WEEK
public static final int I_OVERDUE
public static final int I_THIS_SUNDAY
public static final int I_THIS_MONDAY
public static final int I_THIS_TUESDAY
public static final int I_THIS_WEDNESDAY
public static final int I_THIS_THURSDAY
public static final int I_THIS_FRIDAY
public static final int I_THIS_SATURDAY
public static final int I_SECOND_LAST_WEEK
public static final int I_THIRD_LAST_WEEK
public static final int I_FOURTH_LAST_WEEK_AND_BEYOND
public static final int I_ASAP
public static final DateFilterEnum TODAY
Today.
public static final DateFilterEnum YESTERDAY
Yesterday.
public static final DateFilterEnum LAST_7_DAYS
Last_7_Days.
public static final DateFilterEnum NEXT_7_DAYS
Next_7_Days.
public static final DateFilterEnum LAST_WEEK
LastWeek.
public static final DateFilterEnum LAST_30_DAYS
Last_30_Days.
public static final DateFilterEnum NEXT_30_DAYS
Next_30_Days.
public static final DateFilterEnum LAST_MONTH
LastMonth.
public static final DateFilterEnum LAST_3_MONTHS
Last_3_Months.
public static final DateFilterEnum LAST_90_DAYS
Last_90_Days.
public static final DateFilterEnum NEXT_90_DAYS
Next_90_Days.
public static final DateFilterEnum LAST_YEAR
LastYear.
public static final DateFilterEnum LAST_365_DAYS
Last_365_Days.
public static final DateFilterEnum NEXT_365_DAYS
Next_365_Days.
public static final DateFilterEnum TOMORROW
Tomorrow.
public static final DateFilterEnum UNDEFINED
undefined.
public static final DateFilterEnum THIS_WEEK
ThisWeek.
public static final DateFilterEnum NEXT_WEEK
NextWeek.
public static final DateFilterEnum THIS_MONTH
ThisMonth.
public static final DateFilterEnum NEXT_MONTH
NextMonth.
public static final DateFilterEnum NEXT_3_MONTHS
Next_3_Months.
public static final DateFilterEnum THIS_YEAR
ThisYear.
public static final DateFilterEnum FOURTH_NEXT_WEEK_AND_NEWER
FourthNextWeekAndNewer.
public static final DateFilterEnum THIRD_NEXT_WEEK
ThirdNextWeek.
public static final DateFilterEnum SECOND_NEXT_WEEK
SecondNextWeek.
public static final DateFilterEnum OVERDUE
AfterToday.
public static final DateFilterEnum THIS_SUNDAY
Sunday.
public static final DateFilterEnum THIS_MONDAY
Monday.
public static final DateFilterEnum THIS_TUESDAY
Tuesday.
public static final DateFilterEnum THIS_WEDNESDAY
Wednesday.
public static final DateFilterEnum THIS_THURSDAY
Thursday.
public static final DateFilterEnum THIS_FRIDAY
Friday.
public static final DateFilterEnum THIS_SATURDAY
Saturday.
public static final DateFilterEnum SECOND_LAST_WEEK
SecondLastWeek.
public static final DateFilterEnum THIRD_LAST_WEEK
ThirdLastWeek.
public static final DateFilterEnum FOURTH_LAST_WEEK_AND_BEYOND
FourthLastWeekAndBeyond.
public static final DateFilterEnum ASAP
ASAP.
public static final DateFilterEnum NEXT_YEAR
NextYear.
| Method Detail |
|---|
public int hashCode()
hashCode in class Objecttext.Object.hashCode()public String getValue()
public String toString()
toString in class ObjectObject.toString()public String getText()
public String getText(Locale locale)
locale - - Locale can be null in which the default locale will be used.
public int getType()
public static Iterator getIterator()
Map.values()public static DateFilterEnum getEnumFromKey(String key)
key - that specifies the date filter.
key is null, return UNDEFINED.
public static SimpleDateFormat getUtcFormatter(String format,
Locale loc)
format - not nullloc - if null, default is used.
public boolean equals(Object obj)
equals in class Objectobj - the object that needs to be compared against "this".
text.Object.equals(java.lang.Object)| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||