public class IlvDateClusterId extends IlvColumnValueClusterId implements Comparable
Date field.IlvDatePartitioner| Constructor and Description |
|---|
IlvDateClusterId(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int calendarField,
int calendarFieldValue)
Creates an instance of this class.
|
IlvDateClusterId(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int calendarField,
int calendarFieldValue,
Locale locale)
Creates an instance of this class.
|
IlvDateClusterId(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int calendarField,
int calendarFieldValue,
com.ibm.icu.util.ULocale locale)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o)
Compares this object with another object.
|
int |
getCalendarField()
Returns the field that was used to create the group of objects.
|
int |
getCalendarFieldValue()
Returns the field value that identifies the group of objects.
|
int |
hashCode()
Returns a hash code that is compatible with
equals(). |
protected void |
setCalendarField(int calendarField)
Changes the field that is used to create the group of objects.
|
protected void |
setCalendarFieldValue(int calendarFieldValue)
Changes the field value that identifies the group of objects.
|
String |
toString() |
getColumn, getModelpublic IlvDateClusterId(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int calendarField, int calendarFieldValue)
model - The model in which the column values are stored.column - The column which gave rise to the identified cluster.calendarField - The field that was used to create the group of objects.calendarFieldValue - The field value that identifies the group of objects.public IlvDateClusterId(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int calendarField, int calendarFieldValue, Locale locale)
model - The model in which the column values are stored.column - The column which gave rise to the identified cluster.calendarField - The field that was used to create the group of objects.calendarFieldValue - The field value that identifies the group of objects.locale - The locale used to convert this instance to textual form.public IlvDateClusterId(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int calendarField, int calendarFieldValue, com.ibm.icu.util.ULocale locale)
model - The model in which the column values are stored.column - The column which gave rise to the identified cluster.calendarField - The field that was used to create the group of objects.calendarFieldValue - The field value that identifies the group of objects.locale - The locale used to convert this instance to textual form.public int getCalendarField()
Calendar.ERA, Calendar.YEAR,
Calendar.MONTH, Calendar.DAY_OF_MONTH,
Calendar.HOUR_OF_DAY, Calendar.MINUTE,
Calendar.SECOND, Calendar.MILLISECOND,
Calendar.DAY_OF_WEEK,
Calendar.DAY_OF_YEAR,
Calendar.DAY_OF_MONTH,
Calendar.WEEK_OF_YEAR,
Calendar.WEEK_OF_MONTH, Calendar.HOUR.protected void setCalendarField(int calendarField)
public int getCalendarFieldValue()
protected void setCalendarFieldValue(int calendarFieldValue)
public boolean equals(Object o)
equals in interface IlvClusterIdequals in class IlvColumnValueClusterIdpublic int hashCode()
equals().hashCode in interface IlvClusterIdhashCode in class IlvColumnValueClusterIdpublic int compareTo(Object o)
compareTo in interface Comparable© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.