Class DateProperty<E>

java.lang.Object
org.apache.cayenne.exp.property.BaseProperty<E>
org.apache.cayenne.exp.property.DateProperty<E>
All Implemented Interfaces:
ComparableProperty<E>, Property<E>

public class DateProperty<E> extends BaseProperty<E> implements ComparableProperty<E>
Property that represents date/time attribute.

 ObjectSelect.query(Artist.class)
      .where(Artist.DATE_OF_BIRTH.year().lte(1900))
      .or(Artist.DATE_OF_BIRTH.month().between(6, 8))
 
Since:
4.2
See Also: