cal.setTime(new Date(time));
cal.setTimeInMillis(time);
  public void setTime(long time)  {		Calendar cal = getCalendar();    synchronized (cal)      {	cal.setTime(new Date(time));	dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25	  | (cal.get(Calendar.MONTH) + 1) << 21	  | (cal.get(Calendar.DAY_OF_MONTH)) << 16	  | (cal.get(Calendar.HOUR_OF_DAY)) << 11	  | (cal.get(Calendar.MINUTE)) << 5	  | (cal.get(Calendar.SECOND)) >> 1;		}		this.known |= KNOWN_TIME;	}