01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.storage.search;
11:
12: /**
13: * A datesortorder specifies sorting of a single date field.
14: * <p>
15: * This corresponds to use of ORDER BY in SQL SELECT-syntax.
16: *
17: * @author Pierre van Rooden
18: * @version $Id: DateSortOrder.java,v 1.2 2007/04/20 12:17:37 pierre Exp $
19: * @since MMBase-1.8.4
20: */
21: public interface DateSortOrder extends SortOrder {
22:
23: /**
24: * Returns the part of the date-field wich is to be compared.
25: */
26: int getPart();
27: }
|