Here you can find the source of parseTIPPDate(String dateString)
static Date parseTIPPDate(String dateString)
//package com.java2s; //License from project: Apache License import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Main { private static final String FORMAT = "yyyy-MM-dd'T'HH:mm:ss"; static Date parseTIPPDate(String dateString) { try {/*from ww w . j a v a 2 s. c om*/ SimpleDateFormat df = new SimpleDateFormat(FORMAT); return df.parse(dateString); } catch (ParseException e) { throw new IllegalArgumentException("Invalid date string: " + dateString); } } }