org.mmbase.storage.search
Interface FieldValueDateConstraint

All Superinterfaces:
Constraint, FieldCompareConstraint, FieldConstraint, FieldValueConstraint
All Known Implementing Classes:
BasicFieldValueDateConstraint

public interface FieldValueDateConstraint
extends FieldValueConstraint

Since:
MMBase-1.8
Version:
$Id: FieldValueDateConstraint.java,v 1.5 2005/08/16 14:05:38 pierre Exp $
Author:
Michiel Meeuwissen
Warning: No Java Documentation Available.

Field Summary
static int CENTURY
          Date part: 'century'
static int DAY_OF_MONTH
          Date part: 'day of month'
static int DAY_OF_WEEK
          Date part: 'day of week'
static int DAY_OF_YEAR
          Date part: 'day of year'
static int HOUR
          Time part: 'hour'
static int MILLISECOND
          Time part: 'millisecond'
static int MINUTE
          Time part: 'minute'
static int MONTH
          Date part: 'month'
static String[] PART_DESCRIPTIONS
          Part descriptions corresponding to the date and time part values: CENTURY, YEAR, MONTH, QUARTER, WEEK, DAY_OF_YEAR, DAY_OF_MONTH, DAY_OF_WEEK, HOUR, MINUTE, SECOND and MILLISECOND
static int QUARTER
          Date part: 'quarter'
static int SECOND
          Time part: 'second'
static int WEEK
          Date part: 'week'
static int YEAR
          Date part: 'year'
 
Fields inherited from interface org.mmbase.storage.search.FieldCompareConstraint
EQUAL, GREATER, GREATER_EQUAL, LESS, LESS_EQUAL, LIKE, NOT_EQUAL, OPERATOR_DESCRIPTIONS
 
Method Summary
 int getPart()
          Returns the part of the date-field wich is to be compared.
 
Methods inherited from interface org.mmbase.storage.search.FieldValueConstraint
getValue, toString
 
Methods inherited from interface org.mmbase.storage.search.FieldCompareConstraint
getOperator
 
Methods inherited from interface org.mmbase.storage.search.FieldConstraint
getField, isCaseSensitive
 
Methods inherited from interface org.mmbase.storage.search.Constraint
equals, getBasicSupportLevel, hashCode, isInverse
 

Field Detail

CENTURY

public static final int CENTURY
Date part: 'century'

See Also:
Constant Field Values

YEAR

public static final int YEAR
Date part: 'year'

See Also:
Constant Field Values

MONTH

public static final int MONTH
Date part: 'month'

See Also:
Constant Field Values

WEEK

public static final int WEEK
Date part: 'week'

See Also:
Constant Field Values

QUARTER

public static final int QUARTER
Date part: 'quarter'

See Also:
Constant Field Values

DAY_OF_MONTH

public static final int DAY_OF_MONTH
Date part: 'day of month'

See Also:
Constant Field Values

DAY_OF_YEAR

public static final int DAY_OF_YEAR
Date part: 'day of year'

See Also:
Constant Field Values

DAY_OF_WEEK

public static final int DAY_OF_WEEK
Date part: 'day of week'

See Also:
Constant Field Values

HOUR

public static final int HOUR
Time part: 'hour'

See Also:
Constant Field Values

MINUTE

public static final int MINUTE
Time part: 'minute'

See Also:
Constant Field Values

SECOND

public static final int SECOND
Time part: 'second'

See Also:
Constant Field Values

MILLISECOND

public static final int MILLISECOND
Time part: 'millisecond'

See Also:
Constant Field Values

PART_DESCRIPTIONS

public static final String[] PART_DESCRIPTIONS
Part descriptions corresponding to the date and time part values: CENTURY, YEAR, MONTH, QUARTER, WEEK, DAY_OF_YEAR, DAY_OF_MONTH, DAY_OF_WEEK, HOUR, MINUTE, SECOND and MILLISECOND

Method Detail

getPart

public int getPart()
Returns the part of the date-field wich is to be compared.



MMBase build 1.8.1.20060716