Package | Description |
---|---|
gnu.math |
Supports various numeric
types, including complex numbers, efficient bignums, exact rational
numbers, units.
|
gnu.xquery.util |
Modifier and Type | Method and Description |
---|---|
static Duration |
Duration.add(Duration x,
Duration y,
int k) |
static Duration |
Duration.make(int months,
long seconds,
int nanos,
Unit unit) |
static Duration |
Duration.makeMinutes(int minutes) |
static Duration |
Duration.makeMonths(int months) |
static Duration |
Duration.parse(java.lang.String str,
Unit unit) |
static Duration |
Duration.parseDayTimeDuration(java.lang.String str) |
static Duration |
Duration.parseDuration(java.lang.String str) |
static Duration |
Duration.parseYearMonthDuration(java.lang.String str) |
static Duration |
DateTime.sub(DateTime date1,
DateTime date2) |
static Duration |
Duration.times(Duration x,
double y) |
static Duration |
Duration.valueOf(java.lang.String str,
Unit unit)
Parse a duration lexical value as specified by XML Schama.
|
Modifier and Type | Method and Description |
---|---|
static DateTime |
DateTime.add(DateTime x,
Duration y,
int k) |
static Duration |
Duration.add(Duration x,
Duration y,
int k) |
static int |
Duration.compare(Duration x,
Duration y) |
static double |
Duration.div(Duration dur1,
Duration dur2) |
static boolean |
Duration.equals(Duration x,
Duration y)
Compare for equality.
|
static Duration |
Duration.times(Duration x,
double y) |
Modifier and Type | Method and Description |
---|---|
static Duration |
TimeUtils.getImplicitTimezone() |