public final class CypherDuration extends CypherValue implements TemporalAmount
| 限定符和类型 | 字段和说明 |
|---|---|
static CypherDuration |
MAX_VALUE |
static CypherDuration |
MIN_VALUE |
static CypherDuration |
ZERO |
| 限定符和类型 | 方法和说明 |
|---|---|
Temporal |
addTo(Temporal temporal) |
TemporalAmount |
asObjectCopy() |
static CypherDuration |
duration(Duration value) |
static CypherDuration |
duration(long months,
long days,
long seconds,
long nanos) |
static CypherDuration |
duration(Period value) |
long |
get(TemporalUnit unit) |
List<TemporalUnit> |
getUnits() |
Temporal |
subtractFrom(Temporal temporal) |
public static final CypherDuration MIN_VALUE
public static final CypherDuration MAX_VALUE
public static final CypherDuration ZERO
public static CypherDuration duration(Duration value)
public static CypherDuration duration(Period value)
public static CypherDuration duration(long months, long days, long seconds, long nanos)
public TemporalAmount asObjectCopy()
asObjectCopy 在类中 CypherValuepublic long get(TemporalUnit unit)
get 在接口中 TemporalAmountpublic List<TemporalUnit> getUnits()
getUnits 在接口中 TemporalAmountpublic Temporal addTo(Temporal temporal)
addTo 在接口中 TemporalAmountpublic Temporal subtractFrom(Temporal temporal)
subtractFrom 在接口中 TemporalAmount