A constraint on a 'part' of a DateTime field. E.g. where extract(YEAR, lastmodified) = 2004.
author: Michiel Meeuwissen version: $Id: BasicFieldValueDateConstraint.java,v 1.6 2006/10/16 12:56:57 pierre Exp $ since: MMBase-1.8
Constructor.
Depending on the field type, the value must be of type
String or Number.
Parameters: field - The associated field. Parameters: value - The non-null property value. Parameters: part - Which part of the date to compare throws: IllegalArgumentException - when an invalid argument is supplied.