Here you can find the source of isoDateStringToDate(String dateString)
public static Date isoDateStringToDate(String dateString) throws ParseException
//package com.java2s; //License from project: Open Source License import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Main { /**/*from w ww.ja va2s .c o m*/ * Converts an ISO-formatted {@link String} representation of a date to a {@link Date} object. * * @return a {@link Date} object corresponding to given date string * @see #dateToIsoDateString(Date) * @see #dateToIsoDateString(Date, DateFallback) */ public static Date isoDateStringToDate(String dateString) throws ParseException { return new SimpleDateFormat("yyyy-MM-dd HH:mm").parse(dateString); } }