Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.table.context
Class YearContext

java.lang.Object
  extended by com.citra.pivot.table.context.SingleColumnContext
      extended by com.citra.pivot.table.context.DateColumnContext
          extended by com.citra.pivot.table.context.YearContext
All Implemented Interfaces:
TableContext

public class YearContext
extends DateColumnContext

YearContext extracts years from Date values. The format used is set as: "yyyy".


Nested Class Summary
 
Nested classes/interfaces inherited from class com.citra.pivot.table.context.DateColumnContext
DateColumnContext.DateContext
 
Field Summary
 
Fields inherited from class com.citra.pivot.table.context.DateColumnContext
calendar, format
 
Fields inherited from class com.citra.pivot.table.context.SingleColumnContext
captionColumn, columnsByLocale, comparator, extractColumn, nameColumn
 
Constructor Summary
YearContext(int column)
          Constructs a YearContext.
 
Method Summary
 
Methods inherited from class com.citra.pivot.table.context.DateColumnContext
applyFormat, compareMemberValues, extractMemberValue, getCaption, getDateFormat, getDescription, getName, hasField, setField
 
Methods inherited from class com.citra.pivot.table.context.SingleColumnContext
getColumnForLocale, setColumnForLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YearContext

public YearContext(int column)
Constructs a YearContext.


Copyright © 2011 Citra Technologies. All Rights Reserved.