Package 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
 - Author:
 - jhyde
 
 
- 
- 
Constructor Summary
Constructors Constructor Description DateTimeType()Creates a DateTime type. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleanisInstance(Object value)Returns whether a value is valid for a type.- 
Methods inherited from class mondrian.olap.type.ScalarType
computeCommonType, getArity, getDimension, getHierarchy, getLevel, hashCode, toString, usesDimension, usesHierarchy 
 - 
 
 - 
 
- 
- 
Method Detail
- 
equals
public boolean equals(Object obj)
- Overrides:
 equalsin classScalarType
 
- 
isInstance
public boolean isInstance(Object value)
Description copied from interface:TypeReturns whether a value is valid for a type.- Specified by:
 isInstancein interfaceType- Overrides:
 isInstancein classScalarType- Parameters:
 value- Value- Returns:
 - Whether value is valid for this type
 
 
 - 
 
 -