java.time.temporal.TemporalAmount representation in iCalendar format.
| Modifier and Type | Field and Description |
|---|---|
| private final TemporalAmount |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static TemporalAmountAdapter | |
| private String | Returns: a string representation of the duration that is compliant with the RFC5545 specification.a duration instance duration, Temporal seed)As the |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static TemporalAmountAdapter | |
| public static TemporalAmountAdapter | |
| public static TemporalAmountAdapter | |
| public static TemporalAmountAdapter | |
| public TemporalAmount | |
| public final Date | |
| public int | |
| public static TemporalAmountAdapter | |
| public static TemporalAmountAdapter | |
| private String | Returns: a string representation of the period that is compliant with the RFC5545 specification.a period instance period, Temporal seed)As the |
| public Duration | |
| public String | |
| public String |
| duration | back to summary |
|---|---|
| private final TemporalAmount duration | |
| TemporalAmountAdapter | back to summary |
|---|---|
| public TemporalAmountAdapter(TemporalAmount duration) | |
| between | back to summary |
|---|---|
| public static TemporalAmountAdapter between(Temporal t1, Temporal t2) | |
| durationToString | back to summary |
|---|---|
| private String durationToString(Duration duration, Temporal seed) As the | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| from | back to summary |
|---|---|
| public static TemporalAmountAdapter from(Temporal start, Temporal end) | |
| from | back to summary |
|---|---|
| public static TemporalAmountAdapter from(LocalDate start, LocalDate end) | |
| from | back to summary |
|---|---|
| public static TemporalAmountAdapter from(Dur dur)
References Deprecated
See corresponding docs for further information.
| |
| fromDateRange | back to summary |
|---|---|
| public static TemporalAmountAdapter fromDateRange(Date start, Date end) | |
| getDuration | back to summary |
|---|---|
| public TemporalAmount getDuration() | |
| getTime | back to summary |
|---|---|
| public final Date getTime(final Date start)
Deprecated use Returns a date representing the end of this duration from the specified start date. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| public static TemporalAmountAdapter parse(String value) | |
| parse | back to summary |
|---|---|
| public static TemporalAmountAdapter parse(String value, boolean lenient) | |
| periodToString | back to summary |
|---|---|
| private String periodToString(Period period, Temporal seed) As the | |
| toDuration | back to summary |
|---|---|
| public Duration toDuration() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toString | back to summary |
|---|---|
| public String toString(Temporal seed) | |