Here you can find the source of parseDateHHMM(String hhmm)
public static Date parseDateHHMM(String hhmm) throws Exception
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.Date; public class Main { private static SimpleDateFormat simpleHHmmTimeFormat = new SimpleDateFormat("HH:mm"); public static Date parseDateHHMM(String hhmm) throws Exception { return simpleHHmmTimeFormat.parse(hhmm); }/*from w w w . j a v a2 s . c o m*/ }