Class 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 Detail

      • DateTimeType

        public DateTimeType()
        Creates a DateTime type.
    • Method Detail

      • 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