Class DateTimeValue
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.ItemValue
com.independentsoft.office.spreadsheet.pivotTables.DateTimeValue
The Class DateTimeValue.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new date time value.DateTimeValue(Date value)Instantiates a new date time value. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the caption.intgetCount()Gets the count.intgetIndex()Gets the index.getValue()Gets the value.booleanChecks for calculated value.booleanChecks if is unused item.voidsetCalculatedValue(boolean hasCalculatedValue)Sets the calculated value.voidsetCaption(String caption)Sets the caption.voidsetCount(int count)Sets the count.voidsetIndex(int index)Sets the index.voidsetUnusedItem(boolean isUnusedItem)Sets the unused item.voidSets the value.toString()
-
Constructor Details
-
DateTimeValue
public DateTimeValue()Instantiates a new date time value. -
DateTimeValue
Instantiates a new date time value.- Parameters:
value- the value
-
-
Method Details
-
clone
-
toString
-
getCaption
Gets the caption.- Returns:
- the caption
-
setCaption
Sets the caption.- Parameters:
caption- the new caption
-
getCount
public int getCount()Gets the count.- Returns:
- the count
-
setCount
public void setCount(int count)Sets the count.- Parameters:
count- the new count
-
hasCalculatedValue
public boolean hasCalculatedValue()Checks for calculated value.- Returns:
- true, if successful
-
setCalculatedValue
public void setCalculatedValue(boolean hasCalculatedValue)Sets the calculated value.- Parameters:
hasCalculatedValue- the new calculated value
-
isUnusedItem
public boolean isUnusedItem()Checks if is unused item.- Returns:
- true, if is unused item
-
setUnusedItem
public void setUnusedItem(boolean isUnusedItem)Sets the unused item.- Parameters:
isUnusedItem- the new unused item
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-
getIndex
public int getIndex()Gets the index.- Returns:
- the index
-
setIndex
public void setIndex(int index)Sets the index.- Parameters:
index- the new index
-