Class DayHolder
- java.lang.Object
-
- it.bancaditalia.oss.vtl.impl.types.data.date.DateHolder<LocalDate>
-
- it.bancaditalia.oss.vtl.impl.types.data.date.DayHolder
-
- All Implemented Interfaces:
TimeHolder
,Serializable
,Comparable<DateHolder<?>>
,TemporalAccessor
public class DayHolder extends DateHolder<LocalDate>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DateHolder<?> other)
boolean
equals(Object obj)
LocalDate
getLocalDate()
long
getLong(TemporalField field)
int
hashCode()
DayHolder
increment(long amount)
boolean
isSupported(TemporalField field)
long
toEpochMilli()
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
-
-
-
-
Constructor Detail
-
DayHolder
public DayHolder(int year, int month, int day)
-
DayHolder
public DayHolder(LocalDate date)
-
-
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<LocalDate>
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classDateHolder<LocalDate>
-
toString
public String toString()
- Specified by:
toString
in classDateHolder<LocalDate>
-
increment
public DayHolder increment(long amount)
- Specified by:
increment
in classDateHolder<LocalDate>
-
toEpochMilli
public long toEpochMilli()
-
getLocalDate
public LocalDate getLocalDate()
-
-