mondrian.olap.type
Class DateTimeType
java.lang.Object
mondrian.olap.type.ScalarType
mondrian.olap.type.DateTimeType
- All Implemented Interfaces:
- Type
public class DateTimeType
- extends ScalarType
The type of an expression representing a date, time or timestamp.
- Since:
- Jan 2, 2008
- Version:
- $Id: //open/mondrian/src/main/mondrian/olap/type/DateTimeType.java#4 $
- Author:
- jhyde
DateTimeType
public DateTimeType()
- Creates a DateTime type.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ScalarType
isInstance
public boolean isInstance(Object value)
- Description copied from interface:
Type
- Returns whether a value is valid for a type.
- Specified by:
isInstance
in interface Type
- Overrides:
isInstance
in class ScalarType
- Parameters:
value
- Value
- Returns:
- Whether value is valid for this type