| 程序包 | 说明 |
|---|---|
| com.iofairy.falcon.time |
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Interval |
Interval.ZERO |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Interval |
Interval.between(DateTime<?> startDateTime,
DateTime<?> endDateTime) |
Obtain two
DateTime interval. |
static Interval |
Interval.between(Temporal startTemporal,
Temporal endTemporal) |
Obtain two
Temporal datetime interval. |
static Interval |
Interval.between(Calendar startCalendar,
Calendar endCalendar) |
Obtain two
Calendar datetime interval. |
static Interval |
Interval.between(Date startDate,
Date endDate) |
Obtain two
Date datetime interval. |
Interval |
Interval.minus(long amount,
TemporalUnit unit) |
|
Interval |
Interval.minus(Interval interval) |
|
static Interval |
Interval.of(long days,
long hours,
long minutes) |
|
static Interval |
Interval.of(long months,
long days,
long hours,
long minutes) |
|
static Interval |
Interval.of(long years,
long months,
long days,
long hours,
long minutes) |
|
static Interval |
Interval.of(long years,
long months,
long days,
long hours,
long minutes,
long seconds) |
|
static Interval |
Interval.of(long years,
long months,
long days,
long hours,
long minutes,
long seconds,
long millis) |
|
static Interval |
Interval.of(long centuries,
long years,
long months,
long days,
long hours,
long minutes,
long seconds,
long millis) |
|
static Interval |
Interval.of(long centuries,
long years,
long months,
long days,
long hours,
long minutes,
long seconds,
long millis,
long micros,
long nanos) |
|
static Interval |
Interval.of(long amount,
TemporalUnit unit) |
|
static Interval |
Interval.ofCenturies(long centuries) |
|
static Interval |
Interval.ofDays(long days) |
|
static Interval |
Interval.ofHours(long hours) |
|
static Interval |
Interval.ofMicros(long micros) |
|
static Interval |
Interval.ofMillis(long millis) |
|
static Interval |
Interval.ofMinutes(long minutes) |
|
static Interval |
Interval.ofMonths(long months) |
|
static Interval |
Interval.ofNanos(long nanos) |
|
static Interval |
Interval.ofSeconds(long seconds) |
|
static Interval |
Interval.ofYears(long years) |
|
Interval |
Interval.plus(long amount,
TemporalUnit unit) |
|
Interval |
Interval.plus(Interval interval) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Interval |
Interval.minus(Interval interval) |
|
Interval |
Interval.plus(Interval interval) |
Copyright © 2023. All rights reserved.