LocalDateTime now = LocalDateTime.now();
LocalDateTime startTime = now.withHour( 23 ).withMinute( 45 ).withSecond( 0 ).withNano( 0 );
LocalDateTime endTime = now.withHour( 23 ).withMinute( 59 ).withSecond( 59 ).withNano( 999999999 )
if(startTime.compareTo( now ) <= 0 && endTime.compareTo( now ) >= 0)