if(userEndDate.getTime() != null
    && userEndDate.getTime() > today.getTime()
    && endDateFromRequest != null ? endDateFromRequest.getTime() !== userEndDate.getTime() : true){
            
            //some code
     }

for code lovers :D

By Unnamed, 2018-11-30 16:12:08