java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.ItemValue
com.independentsoft.office.spreadsheet.pivotTables.DateTimeValue

public class DateTimeValue extends ItemValue
The Class DateTimeValue.
  • Constructor Details

    • DateTimeValue

      public DateTimeValue()
      Instantiates a new date time value.
    • DateTimeValue

      public DateTimeValue(Date value)
      Instantiates a new date time value.
      Parameters:
      value - the value
  • Method Details

    • clone

      public DateTimeValue clone()
      Specified by:
      clone in class ItemValue
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCaption

      public String getCaption()
      Gets the caption.
      Returns:
      the caption
    • setCaption

      public void setCaption(String caption)
      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

      public Date getValue()
      Gets the value.
      Returns:
      the value
    • setValue

      public void setValue(Date value)
      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