|
Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfilenet.vw.api.VWTimeUnitType
public final class VWTimeUnitType
Use this class to define the time unit types used in computing statistical results.
VWStatistics
,
VWRosterStats
,
VWQueueStats
Field Summary | |
---|---|
static int |
DAYS
Value of 3. Specifies days as the time unit. |
static int |
HOURS
Value of 2. Specifies hours as the time unit. |
static int |
MINUTES
Value of 1. Specifies minutes the time unit. |
static int |
MONTHS
Value of 5. Specifies months as the time unit. |
static int |
WEEKS
Value of 4. Specifies weeks as the time unit. |
static int |
YEARS
Value of 6. Specifies years as the time unit. |
Constructor Summary | |
---|---|
VWTimeUnitType()
|
Method Summary | |
---|---|
static java.lang.String |
_get_FILE_AUTHOR()
For FileNet internal use only, do not call. |
static java.lang.String |
_get_FILE_DATE()
For FileNet internal use only, do not call. |
static java.lang.String |
_get_FILE_REVISION()
For FileNet internal use only, do not call. |
static java.lang.String |
getLocalizedString(int timeUnitType)
Gets a localized String representation of the time unit type. |
static boolean |
isValid(int timeUnitType)
Checks that a time unit type is within a valid range. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MINUTES
public static final int HOURS
public static final int DAYS
public static final int WEEKS
public static final int MONTHS
public static final int YEARS
Constructor Detail |
---|
public VWTimeUnitType()
Method Detail |
---|
public static java.lang.String _get_FILE_DATE()
public static java.lang.String _get_FILE_AUTHOR()
public static java.lang.String _get_FILE_REVISION()
public static boolean isValid(int timeUnitType)
timeUnitType
- An integer value specifying the time unit
type value to be validated. Valid time unit values are as
follows:
true
if the value
specified in the timeUnitType parameter is valid; otherwise,
returns false
.public static java.lang.String getLocalizedString(int timeUnitType) throws VWException
timeUnitType
- An integer value specifying the time unit
type value to be represented by a string. Valid time unit
values are as follows:
VWException
- Thrown if the method cannot
get a localized String representation of the time unit type, for
example, if the time unit type is invalid.
|
Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |