public class ExclyDate extends Object implements ExclyDataType, Comparable<ExclyDate>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
error |
ERRORCODE| Constructor and Description |
|---|
ExclyDate(Date data)
Constructs a new ExclyDate.
|
| Modifier and Type | Method and Description |
|---|---|
static ExclyDate |
add(ExclyDate... dates)
Adds multiple ExclyDates together.
|
int |
compareTo(ExclyDate other) |
boolean |
equals(Object obj) |
Date |
getData()
Returns the value.
|
int |
hashCode() |
boolean |
isError()
Checks if the ExclyDate has an error.
|
void |
setCell(org.apache.poi.ss.usermodel.Cell cell)
Sets a cell without a given style.
|
void |
setCell(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellStyle cellStyle)
Sets a cell with a given style.
|
static ExclyDate |
sub(ExclyDate... dates)
Subtracts multiple ExclyDates from the first input.
|
String |
toString() |
public ExclyDate(Date data)
data - The value of the ExclyDate.public void setCell(org.apache.poi.ss.usermodel.Cell cell)
ExclyDataTypesetCell in interface ExclyDataTypecell - The cell which should be set.public void setCell(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellStyle cellStyle)
ExclyDataTypesetCell in interface ExclyDataTypecell - The cell which should be set.cellStyle - The cell style which should be set.public Date getData()
public boolean isError()
public int compareTo(ExclyDate other)
compareTo in interface Comparable<ExclyDate>public static ExclyDate add(ExclyDate... dates)
dates - ExclyDates which should be added together.public static ExclyDate sub(ExclyDate... dates)
dates - ExclyDates which should be subtracted.Copyright © 2016 MuK Projects. All rights reserved.