|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface Duration
| Field Summary | |
|---|---|
static String |
REGEX_DURATION
Deprecated. |
static long |
serialVersionUID
Deprecated. |
| Method Summary | |
|---|---|
int |
getDuration()
Deprecated. the duration in seconds |
String |
getDurationISO()
Deprecated. Format and return the duration set by 'setDuration(int i)' or 'setDurationString(String a_aDuration)' as an ISO conform String. |
boolean |
isLonger(Duration x)
Deprecated. isLess - tests if the duration of this JDFDuration is longer then the duration of the specified JDFDuration. |
boolean |
isShorter(Duration x)
Deprecated. isShorter - tests if the duration of this JDFDuration is less then the duration of the specified JDFDuration. |
void |
setDuration(int i)
Deprecated. setDuration sets a duration for this in seconds. |
boolean |
setDurationISO(String a_aDuration)
Deprecated. Set a duration. |
| Field Detail |
|---|
static final long serialVersionUID
static final String REGEX_DURATION
| Method Detail |
|---|
String getDurationISO()
boolean setDurationISO(String a_aDuration)
a_aDuration - formatted duration string 'P1Y2M3DT10H30M'
void setDuration(int i)
i - the duration in seconds. Values below '0' are set to '0'int getDuration()
boolean isLonger(Duration x)
x - - the JDFDuration object you whant to compare with 'this' JDFDuration object
boolean isShorter(Duration x)
x - - the JDFDuration object that duration you whant to compare with duration of 'this' JDFDuration object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||