private Date readDate()
	{
		int handle = readInt();
		boolean inline = ((handle & 1) != 0);
		handle = handle >> 1;

		if (inline)
		{
			long ms = (long)readDouble();
			Date d = new Date(ms);

			objectReferences.add(d);

			return d;
		}
		else
		{
			return (Date)objectReferences.get(handle);
		}
	}