GregorianCalendar calendar = calendarForTimestamp(t);
GregorianCalendar calendar = (GregorianCalendar) Calendar.getInstance();
    public static GregorianCalendar calendarForTimestamp(NSTimestamp t) {        GregorianCalendar calendar = calendarForTimestamp(t);        calendar.setTime(t);        return calendar;    }