code: public static DateTime toDateTime(org.joda.time.DateTime dateTime) {
      return dateTimesHelper.toDateTime(dateTime);
    }
docs: Converts a {@code DateTime} object to an API date time preserving the time zone.