|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.context.DateColumnContext.DateContext
public static class DateColumnContext.DateContext
DateContext is a class that holds the fields of a Calendar object. Fields can be assigned/retrieved with the setCalendarField, getCalendarField methods respectively.
Field Summary | |
---|---|
protected int[] |
fields
the field values strored in an int array |
Constructor Summary | |
---|---|
DateColumnContext.DateContext(Calendar calendar)
Constructs a DateInfo from a calendar object. |
|
DateColumnContext.DateContext(Calendar calendar,
int[] fields)
Constructs a DateInfo from a calendar object, storing only fields in the int array. |
Method Summary | |
---|---|
int |
getCalendarField(int field)
Retrieves a field's value as previously stored. |
void |
setCalendarField(int field,
int value)
Assigns a field value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] fields
Constructor Detail |
---|
public DateColumnContext.DateContext(Calendar calendar)
public DateColumnContext.DateContext(Calendar calendar, int[] fields)
Method Detail |
---|
public int getCalendarField(int field)
field
- the field to retrieve
public void setCalendarField(int field, int value)
field
- the field for which a value is assignedvalue
- the value to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |