@Test public void testToDateTime_fromCalendarToApiDateTime() { assertEquals(apiDateTime1, DateTimes.toDateTime(calendar1)); assertEquals(apiDateTime2, DateTimes.toDateTime(calendar2)); assertEquals(apiDateTime3, DateTimes.toDateTime(calendar3)); }
public static DateTime toDateTime(Calendar calendar) { return dateTimesHelper.toDateTime(calendar); }
DateTimes { public static DateTime toDateTime(Calendar calendar) { return dateTimesHelper.toDateTime(calendar); } }
DateTimes { public static DateTime toDateTime(Calendar calendar) { return dateTimesHelper.toDateTime(calendar); } private  DateTimes(); }
DateTimes { public static DateTime toDateTime(Calendar calendar) { return dateTimesHelper.toDateTime(calendar); } private  DateTimes(); static DateTime toDateTime(Calendar calendar); static DateTime toDateTime(Instant instant, String timeZoneId); static DateTime toDateTime(org.joda.time.DateTime dateTime); static DateTime toDateTime(String dateTime, String timeZoneId); static DateTime toDateTimeWithTimeZone(String dateTime); static org.joda.time.DateTime toDateTime(DateTime dateTime); static Calendar toCalendar(DateTime dateTime); static Calendar toCalendar(DateTime dateTime, Locale locale); static String toString(Date date); static String toString(DateTime dateTime); static String toStringWithTimeZone(DateTime dateTime); static String toStringForTimeZone(DateTime dateTime, String newZoneId); }
DateTimes { public static DateTime toDateTime(Calendar calendar) { return dateTimesHelper.toDateTime(calendar); } private  DateTimes(); static DateTime toDateTime(Calendar calendar); static DateTime toDateTime(Instant instant, String timeZoneId); static DateTime toDateTime(org.joda.time.DateTime dateTime); static DateTime toDateTime(String dateTime, String timeZoneId); static DateTime toDateTimeWithTimeZone(String dateTime); static org.joda.time.DateTime toDateTime(DateTime dateTime); static Calendar toCalendar(DateTime dateTime); static Calendar toCalendar(DateTime dateTime, Locale locale); static String toString(Date date); static String toString(DateTime dateTime); static String toStringWithTimeZone(DateTime dateTime); static String toStringForTimeZone(DateTime dateTime, String newZoneId);  }