Changing DateField to contain a long value instead of java.util.Date