Class MonthHolder
- java.lang.Object
-
- it.bancaditalia.oss.vtl.impl.types.data.date.DateHolder<YearMonth>
-
- it.bancaditalia.oss.vtl.impl.types.data.date.MonthHolder
-
- All Implemented Interfaces:
TimeHolder
,Serializable
,Comparable<DateHolder<?>>
,TemporalAccessor
public class MonthHolder extends DateHolder<YearMonth>
- Author:
- Valentino Pinna
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MonthHolder(int year, int month)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DateHolder<?> other)
boolean
equals(Object obj)
long
getLong(TemporalField field)
int
hashCode()
MonthHolder
increment(long amount)
boolean
isSupported(TemporalField field)
String
toString()
-
Methods inherited from class it.bancaditalia.oss.vtl.impl.types.data.date.DateHolder
of
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.time.temporal.TemporalAccessor
get, query, range
-
-
-
-
Method Detail
-
getLong
public long getLong(TemporalField field)
-
isSupported
public boolean isSupported(TemporalField field)
-
compareTo
public int compareTo(DateHolder<?> other)
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classDateHolder<YearMonth>
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classDateHolder<YearMonth>
-
toString
public String toString()
- Specified by:
toString
in classDateHolder<YearMonth>
-
increment
public MonthHolder increment(long amount)
- Specified by:
increment
in classDateHolder<YearMonth>
-
-