public static DateTime getDateTime(long timeMillis)
{
java.util.Calendar cal = java.util.Calendar.getInstance();
setTimeInMillis(cal, timeMillis);
DateTime dt = new DateTime();
dt.Year = (short) cal.get(Calendar.YEAR);
dt.Day = (short) cal.get(Calendar.DAY_OF_MONTH);
dt.Month = (short) (cal.get(Calendar.MONTH) + 1);
dt.Hours = (short) cal.get(Calendar.HOUR);
dt.Minutes = (short) cal.get(Calendar.MINUTE);