|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.utility.Duration
public class Duration
Field Summary | |
---|---|
int |
days
|
int |
hours
|
long |
millis
|
int |
minutes
|
int |
months
|
int |
seconds
|
int |
sign
|
int |
weeks
|
int |
years
|
Constructor Summary | |
---|---|
Duration()
|
Method Summary | |
---|---|
java.lang.String |
format()
Format according to ISO8601 |
long |
getMillis()
|
void |
parse(java.lang.String str)
Parse according to ISO8601 |
void |
setMillis(long millis)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int sign
public int seconds
public int minutes
public int hours
public int days
public int weeks
public int months
public int years
public long millis
Constructor Detail |
---|
public Duration()
Method Detail |
---|
public void parse(java.lang.String str) throws java.lang.IllegalArgumentException
str
-
java.lang.IllegalArgumentException
public java.lang.String format()
public long getMillis()
public void setMillis(long millis)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |