org.mmbase.storage.search
Interface FieldValueDateConstraint

Package class diagram package 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 41186 2010-02-26 17:54:31Z michiel $
Author:
Michiel Meeuwissen
Javadoc:

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, REGEXP
 
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, matches, 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, setUnmodifiable
 

Field Detail

CENTURY

static final int CENTURY
Date part: 'century'

See Also:
Constant Field Values

YEAR

static final int YEAR
Date part: 'year'

See Also:
Constant Field Values

MONTH

static final int MONTH
Date part: 'month'

See Also:
Constant Field Values

WEEK

static final int WEEK
Date part: 'week'

See Also:
Constant Field Values

QUARTER

static final int QUARTER
Date part: 'quarter'

See Also:
Constant Field Values

DAY_OF_MONTH

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

See Also:
Constant Field Values

DAY_OF_YEAR

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

See Also:
Constant Field Values

DAY_OF_WEEK

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

See Also:
Constant Field Values

HOUR

static final int HOUR
Time part: 'hour'

See Also:
Constant Field Values

MINUTE

static final int MINUTE
Time part: 'minute'

See Also:
Constant Field Values

SECOND

static final int SECOND
Time part: 'second'

See Also:
Constant Field Values

MILLISECOND

static final int MILLISECOND
Time part: 'millisecond'

See Also:
Constant Field Values

PART_DESCRIPTIONS

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

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



MMBase2 Bridge 2.0-SNAPSHOT - 2013-03-30T06:34