public class Duration extends Object
Modifier and Type | Field and Description |
---|---|
int |
days |
int |
hours |
int |
minutes |
int |
seconds |
int |
sign |
int |
weeks |
Constructor and Description |
---|
Duration() |
Modifier and Type | Method and Description |
---|---|
void |
addTo(Calendar cal)
Add this to the calendar provided, in place, in the calendar.
|
long |
addTo(long dt) |
long |
getMillis() |
void |
parse(String str)
Parse according to RFC2445 ss4.3.6.
|
public int sign
public int weeks
public int days
public int hours
public int minutes
public int seconds
public void parse(String str) throws DateException
DateException
public void addTo(Calendar cal)
public long addTo(long dt)
public long getMillis()