java.lang.Object
org.apache.arrow.vector.PeriodDuration
- All Implemented Interfaces:
- TemporalAmount
Combination of Period and Duration for representing this interval type as a POJO.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanlongget(TemporalUnit unit) getUnits()inthashCode()subtractFrom(Temporal temporal) Format this PeriodDuration as an ISO-8601 interval.toString()
- 
Constructor Details- 
PeriodDuration
 
- 
- 
Method Details- 
getPeriod
- 
getDuration
- 
get- Specified by:
- getin interface- TemporalAmount
 
- 
getUnits- Specified by:
- getUnitsin interface- TemporalAmount
 
- 
addTo- Specified by:
- addToin interface- TemporalAmount
 
- 
subtractFrom- Specified by:
- subtractFromin interface- TemporalAmount
 
- 
toISO8601IntervalStringFormat this PeriodDuration as an ISO-8601 interval.- Returns:
- An ISO-8601 formatted string representing the interval.
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-