public static Calendar convertStringToCalendar( String dateStr )
	{
		if( !isDatePattern( dateStr ) )
		{
			return null;
		}
		int m;
		int d;
		int y;
		StringTokenizer st = new StringTokenizer( dateStr, "/" );
		try
		{
			m = Integer.valueOf( st.nextToken() ) - 1;
			d = Integer.valueOf( st.nextToken() );
			String s = st.nextToken();
			int h;
			int mn;
			int sc;
			h = mn = sc = 0;
			if( s.indexOf( " " ) > -1 )
			{
				int i = s.indexOf( " " );
				String time = s.substring( i + 1 );
				s = s.substring( 0, i ); // rest of date
				String[] timetokens = time.split( ":" );
				if( timetokens.length > 0 )
				{
					h = Integer.valueOf( timetokens[0] );
				}
				if( timetokens.length > 1 )
				{
					mn = Integer.valueOf( timetokens[1] );
				}
				if( timetokens.length > 2 )
				{
					sc = Integer.valueOf( timetokens[2] );
				}
			}
			y = Integer.valueOf( s );
			if( y < 100 )
			{
				y += 2000;
			}
			GregorianCalendar cdr = new GregorianCalendar( y, m, d, h, mn, sc );
			return cdr;
		}
		catch( Exception e )
		{
			return null;
		}
	}