Internally, represent TIMESTAMP values as long and DATE and TIME values as int. Now, 'DATE > DATE' works.

Switch code to new is and isBox methods in Primitive.