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

    ZoneId z = ZoneId.of( "America/Montreal" ) ;
    ZonedDateTime zdtStart = ZonedDateTime.of( 2017, 1, 23, 22, 15, 0, 0 , z );
    ZonedDateTime zdtStop = ZonedDateTime.of( 2017, 1, 24, 01, 15, 0, 0 , z );
    Duration d = Duration.between( zdtStart , zdtStop );

    System.out.println( "zdtStart.toString(): " + zdtStart );
    System.out.println( "zdtStop.toString(): " + zdtStop );
    System.out.println( "d.toString(): " + d );

	}
}