public class DaysSinceDate extends ComplexPeriod<DaysSinceDate>
| Constructor and Description |
|---|
DaysSinceDate(Date epoch,
LocalDate date) |
DaysSinceDate(Date epoch,
long days) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DaysSinceDate that) |
boolean |
equals(Object object) |
DaysSinceDate |
forEpoch(Date newEpoch) |
DataType |
getDataType() |
static DataType |
getDataType(Date epoch) |
long |
getDays() |
int |
hashCode() |
long |
longValue() |
getEpochdoubleValue, floatValue, intValue, toSimpleValuebyteValue, shortValuepublic DaysSinceDate(Date epoch, long days)
public DataType getDataType()
getDataType in class Period<DaysSinceDate>public DaysSinceDate forEpoch(Date newEpoch)
forEpoch in class ComplexPeriod<DaysSinceDate>public int compareTo(DaysSinceDate that)
public long getDays()
Copyright © 2024. All rights reserved.