This example will show how to parse a string or text that contains date and time information using java java.text.SimpleDateFormat, java 8 date time API java.time.format.DateTimeFormatter, joda org.joda.time.format.DateTimeFormat and apache commons DateUtils.parseDate.
Straight up Java
Java 8 Date and Time API
Java 8 java.time.format.DateTimeFormatter.ofPattern creates a formatter based on a specified pattern of "MMMM dd, yyyy". In this case, LocalDate.parse will return an instance of LocalDate from the string "January 14, 1968" and the specific formatter.
Joda Time
Joda DateTimeFormat.forPattern creates a formatter based on a specified pattern of "MMMM dd, yyyy" with a timezone. In this case, "January 14, 1968" will be passed to the DateTimeFormatter.parseDateTime returning a DateTime object.
Apache Commons
Apache commons DateUtils.parseDate will parse "January 14, 1968" which represents a date while passing in the pattern trying to parse.