public class TemporalAmountAdapter
extends java.lang.Object
TemporalAmount
representation in iCalendar format.Constructor and Description |
---|
TemporalAmountAdapter(java.time.temporal.TemporalAmount duration) |
Modifier and Type | Method and Description |
---|---|
static java.time.temporal.TemporalAmount |
from(Dur duration) |
static TemporalAmountAdapter |
fromDateRange(java.util.Date start,
java.util.Date end) |
java.time.temporal.TemporalAmount |
getDuration() |
static TemporalAmountAdapter |
parse(java.lang.String value) |
java.lang.String |
toString() |
public TemporalAmountAdapter(java.time.temporal.TemporalAmount duration)
public java.time.temporal.TemporalAmount getDuration()
public java.lang.String toString()
toString
in class java.lang.Object
public static TemporalAmountAdapter parse(java.lang.String value)
public static TemporalAmountAdapter fromDateRange(java.util.Date start, java.util.Date end)
public static java.time.temporal.TemporalAmount from(Dur duration)