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

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

import java.time.* ;
import java.time.format.* ;
import java.time.temporal.* ;


/* 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
	{

		String startInput = "2014/09/12 00:00";
		String stopInput = "2014/09/13 00:00";
		
		DateTimeFormatter f = DateTimeFormatter.ofPattern( "uuuu/MM/dd HH:mm" );
		
		LocalDateTime start = LocalDateTime.parse( startInput , f ) ;
		LocalDateTime stop = LocalDateTime.parse( stopInput , f ) ;
		boolean isBefore = start.isBefore( stop ) ;
		
		System.out.println( start + " is before " + stop + " = " + isBefore );


	}
}