com.sap.caf.eu.gp.process.api

Interface IGPDuration


public interface IGPDuration


Field Summary
static int DURATION_DAY
          The main unit of the duration is "day"
static int DURATION_HOUR
          The main unit of the duration is "hour"
static int DURATION_MINUTE
          The main unit of the duration is "minute"
static int DURATION_MONTH
          The main unit of the duration is "month"
static int DURATION_WEEK
          The main unit of the duration is "week"
static int DURATION_YEAR
          The main unit of the duration is "year"
static int INVALID_DURATION
           
 
Method Summary
 int getDuration()
          Returns the duration In others words, the count of unit according to the type of the duration.
 int getDurationType()
          Returns the type of the duration
 

Field Detail

INVALID_DURATION

static final int INVALID_DURATION
See Also:
Constant Field Values

DURATION_MINUTE

static final int DURATION_MINUTE
The main unit of the duration is "minute"

See Also:
Constant Field Values

DURATION_HOUR

static final int DURATION_HOUR
The main unit of the duration is "hour"

See Also:
Constant Field Values

DURATION_DAY

static final int DURATION_DAY
The main unit of the duration is "day"

See Also:
Constant Field Values

DURATION_WEEK

static final int DURATION_WEEK
The main unit of the duration is "week"

See Also:
Constant Field Values

DURATION_MONTH

static final int DURATION_MONTH
The main unit of the duration is "month"

See Also:
Constant Field Values

DURATION_YEAR

static final int DURATION_YEAR
The main unit of the duration is "year"

See Also:
Constant Field Values
Method Detail

getDuration

int getDuration()
Returns the duration In others words, the count of unit according to the type of the duration.

Returns:

getDurationType

int getDurationType()
Returns the type of the duration

Returns:
See Also:
previous constants defined (minute/hour/week/etc.)


Copyright 2009 SAP AG Complete Copyright Notice