code: public static String changeTimestampToNewFormat(String originDateFormat,
              String originTimestamp, String newDateFormat) {
          return getTime(
                  changeTimestampToLong(getSimpleDateFormat(originDateFormat),
                          originTimestamp), newDateFormat);
      }
docs: Change timestamp to new format string.
  
  @param originDateFormat the origin date format
  @param originTimestamp  the origin timestamp
  @param newDateFormat    the new date format
  @return the string