class DateInlineIndexKeyType extends NullableInlineIndexKeyType<DateIndexKey> {
    /** */
    public DateInlineIndexKeyType() {
        super(IndexKeyType.DATE, (short)8);
    }

    /** {@inheritDoc} */
    @Override public boolean isComparableTo(IndexKey key) {
        return key instanceof DateTimeIndexKey;
    }

    /** {@inheritDoc} */
    @Override public int compare0(long pageAddr, int off, IndexKey key) {
        return -Integer.signum(((DateTimeIndexKey)key).compareTo(PageUtils.getLong(pageAddr, off + 1), 0));
    }

    /** {@inheritDoc} */
    @Override protected int put0(long pageAddr, int off, DateIndexKey key, int maxSize) {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override protected DateIndexKey get0(long pageAddr, int off) {
        long dateVal = PageUtils.getLong(pageAddr, off + 1);

        if (dateVal > MAX_DATE_VALUE)
            dateVal = MAX_DATE_VALUE;
        else if (dateVal < MIN_DATE_VALUE)
            dateVal = MIN_DATE_VALUE;

        return new DateIndexKey(dateVal);
    }

    /** {@inheritDoc} */
    @Override protected int inlineSize0(DateIndexKey key) {
        return keySize + 1;
    }
}

        PageUtils.putByte(pageAddr, off, (byte)type().code());
        PageUtils.putLong(pageAddr, off + 1, key.dateValue());

        return keySize + 1;
    
<methods>public int compare(long, int, int, org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey) ,public abstract int compare0(long, int, org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey) ,public org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey get(long, int, int) ,public int inlineSize(long, int) ,public int inlineSize() ,public int inlineSize(org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey) ,public boolean inlinedFullValue(long, int, int) ,public java.lang.Boolean isNull(long, int, int) ,public short keySize() ,public int put(long, int, org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey, int) ,public static byte[] readBytes(long, int) ,public org.apache.ignite.internal.cache.query.index.sorted.IndexKeyType type() <variables>public static final int CANT_BE_COMPARE,public static final int COMPARE_UNSUPPORTED,public static final int VARTYPE_HEADER_SIZE,protected final non-sealed short keySize,private final non-sealed org.apache.ignite.internal.cache.query.index.sorted.IndexKeyType type