code: public static DateTime toDateTime(long input, String format, String timezone) {
      return toDateTime(Long.toString(input), format, timezone);
    }
docs: Convert timestamp in a long format to joda time
  @param input timestamp
  @param format timestamp format
  @param timezone time zone of timestamp
  @return joda time