| Modifier and Type | Field and Description |
|---|---|
protected Duration |
DateTime.systemDur
System time is a lazy calculation of milliseconds from Unix epoch 1970-01-01 00:00:00, assuming no leap seconds and a leap
year every year evenly divisible by 4, except for years divisible by 100 but not divisible by 400.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
Duration.add(Duration dur)
Add a duration, producing a new duration.
|
Duration |
Duration.add(long milliseconds)
Add fixed number of (+/-) milliseconds to a Duration, producing a new Duration.
|
Duration |
Duration.add(long seconds,
int nanos)
Add seconds and nanoseconds to a Duration, producing a new Duration.
|
static Duration |
Duration.parse(String str)
Return a duration parsed from a string.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
Duration.add(Duration dur)
Add a duration, producing a new duration.
|
DateTime |
DateTime.add(Duration dur)
Add a fixed duration of time
|
int |
Duration.compareTo(Duration other)
Return relative comparison between two Durations.
|
Copyright © 2014. All Rights Reserved.