001    /*
002    // This software is subject to the terms of the Common Public License
003    // Agreement, available at the following URL:
004    // http://www.opensource.org/licenses/cpl.html.
005    // Copyright (C) 2007-2008 Julian Hyde
006    // All Rights Reserved.
007    // You must accept the terms of that agreement to use this software.
008    */
009    package mondrian.olap.type;
010    
011    /**
012     * The type of an expression representing a date, time or timestamp.
013     *
014     * @author jhyde
015     * @version $Id: //open/mondrian/src/main/mondrian/olap/type/DateTimeType.java#2 $
016     * @since Jan 2, 2008
017     */
018    public class DateTimeType extends ScalarType {
019        /**
020         * Creates a DateTime type.
021         */
022        public DateTimeType() {
023            super("DATETIME");
024        }
025    
026        public boolean equals(Object obj) {
027            return obj instanceof DateTimeType;
028        }
029    }
030    
031    // End DateTimeType.java