Here you can find the source of formatIso8601ToSimpleDate(String iso8601)
public static String formatIso8601ToSimpleDate(String iso8601)
//package com.java2s; //License from project: Apache License public class Main { private static final String DATE_SEPARATOR = "/"; public static String formatIso8601ToSimpleDate(String iso8601) { String date = iso8601.split("T")[0]; String[] parts = date.split("-"); StringBuilder sb = new StringBuilder(); sb.append(parts[2]).append(DATE_SEPARATOR).append(parts[1]).append(DATE_SEPARATOR).append(parts[0]); return sb.toString(); }/* w w w.j a va 2s . c o m*/ }