Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java meeting scheduler


   lastMaxEndTime = CurrentEvent EndTime

   if NextEvent exists {

      
      if (lastMaxEndTime > NextEvent StartTime) { 
         overlappingMode = true;
         overlappingEvents.add(currentEvent); 
         lastMaxEndTime = max(lastMaxEndTime, NextEvent EndTime)
      }
      else {  
         if (overlappingMode is TRUE) {
           
            redrawOverlappingEvents(overlappingEvents);
           
            overlappingMode = false;
            EMPTY overlappingEvents;
         }

       
         lastMaxEndTime = NextEvent EndTime
      }
   }
Source by careers.inkoop.io #
 
PREVIOUS NEXT
Tagged: #java #meeting #scheduler
ADD COMMENT
Topic
Name
4+5 =