import com.ibm.icu.text.SimpleDateFORMAT

String oldStr = "1999-10-01T00:00:00+08: 00"; SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-dd'T'HH:mm:ssz"); Date newStr = sdf.parse(oldStr);