@Test public void testTransitive_instantApiJoda() { assertEquals( jodaDateTime1, dateTimesHelper.toDateTime( dateTimesHelper.toDateTime(jodaDateTime1.toInstant(), TIME_ZONE_ID1))); assertEquals( jodaDateTime2, dateTimesHelper.toDateTime( dateTimesHelper.toDateTime(jodaDateTime2.toInstant(), TIME_ZONE_ID2))); assertEquals( jodaDateTime3, dateTimesHelper.toDateTime( dateTimesHelper.toDateTime(jodaDateTime3.toInstant(), TIME_ZONE_ID3))); }
public T toDateTime(Calendar calendar) { return toDateTime(new DateTime(calendar)); }
DateTimesHelper { public T toDateTime(Calendar calendar) { return toDateTime(new DateTime(calendar)); } }
DateTimesHelper { public T toDateTime(Calendar calendar) { return toDateTime(new DateTime(calendar)); } DateTimesHelper(Class<T> dateTimeClass, Class<D> dateClass); }
DateTimesHelper { public T toDateTime(Calendar calendar) { return toDateTime(new DateTime(calendar)); } DateTimesHelper(Class<T> dateTimeClass, Class<D> dateClass); T toDateTime(Calendar calendar); T toDateTime(Instant instant, String timeZoneId); T toDateTime(DateTime dateTime); T toDateTime(String dateTime, String timeZoneId); T toDateTimeWithTimeZone(String dateTime); String dateToString(D date); DateTime toDateTime(T dateTime); Calendar toCalendar(T dateTime); Calendar toCalendar(T dateTime, Locale locale); String toString(T dateTime); String toStringWithTimeZone(T dateTime); String toStringForTimeZone(T dateTime, String newZoneID); }
DateTimesHelper { public T toDateTime(Calendar calendar) { return toDateTime(new DateTime(calendar)); } DateTimesHelper(Class<T> dateTimeClass, Class<D> dateClass); T toDateTime(Calendar calendar); T toDateTime(Instant instant, String timeZoneId); T toDateTime(DateTime dateTime); T toDateTime(String dateTime, String timeZoneId); T toDateTimeWithTimeZone(String dateTime); String dateToString(D date); DateTime toDateTime(T dateTime); Calendar toCalendar(T dateTime); Calendar toCalendar(T dateTime, Locale locale); String toString(T dateTime); String toStringWithTimeZone(T dateTime); String toStringForTimeZone(T dateTime, String newZoneID);  }