/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

import java.text.* ;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		SimpleDateFormat f = new SimpleDateFormat( "dd-MMM-yyyy" , Locale.US ) ;
		String input = "15-August-2001" ;
		Date d = null;
        try {
            d = f.parse( input ) ;
        } catch ( ParseException e ) {
            e.printStackTrace();
        }
        System.out.println( "d.toString(): " + d ) ;
	}
}