public SimpleDate(Calendar cal) {year = cal.get(Calendar.YEAR);month = cal.get(Calendar.MONTH) + 1;day = cal.get(Calendar.DAY_OF_MONTH);tsMilliseconds = cal.getTimeInMillis();}

public SimpleDate(DateTime date){year = date.Year;month = date.Month;day = date.Day;ticks = date.Ticks;}
