Class PeriodHolder<I extends PeriodHolder<I>>
- java.lang.Object
-
- it.bancaditalia.oss.vtl.impl.types.data.date.PeriodHolder<I>
-
- All Implemented Interfaces:
TimeHolder
,Serializable
,Comparable<PeriodHolder<?>>
,Temporal
,TemporalAccessor
- Direct Known Subclasses:
DayPeriodHolder
,MonthPeriodHolder
,QuarterPeriodHolder
,SemesterPeriodHolder
,WeekPeriodHolder
,YearPeriodHolder
public abstract class PeriodHolder<I extends PeriodHolder<I>> extends Object implements Temporal, Comparable<PeriodHolder<?>>, Serializable, TimeHolder
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeriodHolder.Formatter
-
Constructor Summary
Constructors Constructor Description PeriodHolder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
equals(Object obj)
abstract TimePeriodDomainSubset<?>
getDomain()
abstract int
hashCode()
I
incrementSmallest(long amount)
protected abstract TemporalUnit
smallestUnit()
abstract String
toString()
long
until(Temporal endExclusive, TemporalUnit unit)
Temporal
with(TemporalField field, long newValue)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface java.time.temporal.Temporal
isSupported, minus, minus, plus, plus, with
-
Methods inherited from interface java.time.temporal.TemporalAccessor
get, getLong, isSupported, query, range
-
-
-
-
Method Detail
-
incrementSmallest
public I incrementSmallest(long amount)
-
smallestUnit
protected abstract TemporalUnit smallestUnit()
-
until
public long until(Temporal endExclusive, TemporalUnit unit)
-
with
public Temporal with(TemporalField field, long newValue)
-
getDomain
public abstract TimePeriodDomainSubset<?> getDomain()
-
-