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 Summary
Constructors -
Method Summary
Modifier 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 interfaceTemporalAmount
-
getUnits
- Specified by:
getUnitsin interfaceTemporalAmount
-
addTo
- Specified by:
addToin interfaceTemporalAmount
-
subtractFrom
- Specified by:
subtractFromin interfaceTemporalAmount
-
toISO8601IntervalString
Format this PeriodDuration as an ISO-8601 interval.- Returns:
- An ISO-8601 formatted string representing the interval.
-
toString
-
equals
-
hashCode
public int hashCode()
-