Package | Description |
---|---|
gnu.kawa.xml |
Classes for using XML within Kawa.
|
gnu.math |
Supports various numeric
types, including complex numbers, efficient bignums, exact rational
numbers, units.
|
gnu.xquery.util |
Modifier and Type | Method and Description |
---|---|
DateTime |
XTimeType.now()
Return the current date or time in this type.
|
static DateTime |
XTimeType.parseDateTime(java.lang.String value,
int mask) |
Modifier and Type | Method and Description |
---|---|
static DateTime |
DateTime.add(DateTime x,
Duration y,
int k) |
static DateTime |
DateTime.addMinutes(DateTime x,
int y) |
static DateTime |
DateTime.addSeconds(DateTime x,
int y) |
DateTime |
DateTime.adjustTimezone(int newOffset) |
DateTime |
DateTime.cast(int newComponents) |
static DateTime |
DateTime.parse(java.lang.String value,
int mask) |
DateTime |
DateTime.withZoneUnspecified() |
Modifier and Type | Method and Description |
---|---|
static DateTime |
DateTime.add(DateTime x,
Duration y,
int k) |
static DateTime |
DateTime.addMinutes(DateTime x,
int y) |
static DateTime |
DateTime.addSeconds(DateTime x,
int y) |
static int |
DateTime.compare(DateTime date1,
DateTime date2)
Return -1, 0, or 1, depending on which value is greater.
|
static Duration |
DateTime.sub(DateTime date1,
DateTime date2) |
Modifier and Type | Method and Description |
---|---|
static DateTime |
TimeUtils.currentDate() |
static DateTime |
TimeUtils.currentDateTime() |
static DateTime |
TimeUtils.currentTime() |
static DateTime |
TimeUtils.now() |