package org.synyx.urlaubsverwaltung.overlap;

/**
 * <p>This enum describes what kind of overlap occurs if two (or more) applications are overlapping. There are
 * three possible cases: (1) The period of the new application has no overlap at all with existent
 * applications; i.e. you can calculate the normal way and save the application if there are enough vacation
 * days on person's holidays account. (2) The period of the new application is element of an existent
 * application's period; i.e. the new application is not necessary because there is already an existent
 * application for this period. (3) The period of the new application is part of an existent application's
 * period, but for a part of it you could apply new vacation; i.e. user must be asked if he wants to apply for
 * leave for the not overlapping period of the new application.</p>
 */
public enum OverlapCase {

    NO_OVERLAPPING,
    FULLY_OVERLAPPING,
    PARTLY_OVERLAPPING
}

@@ -182,12 +182,46 @@
 ses:
- (1)
+%3C/p%3E%0A *%0A * %3Col%3E%0A *     %3Cli%3E%0A *        
  The
@@ -281,32 +281,40 @@
 with existent%0A *
+        
  applications; i
@@ -406,16 +406,24 @@
 ation%0A *
+        
  days on
@@ -453,12 +453,44 @@
 unt.
- (2)
+%0A *     %3C/li%3E%0A *     %3Cli%3E%0A *        
  The
@@ -540,32 +540,40 @@
 f an existent%0A *
+        
  application's p
@@ -660,16 +660,24 @@
 stent%0A *
+        
  applica
@@ -701,12 +701,44 @@
 iod.
- (3)
+%0A *     %3C/li%3E%0A *     %3Cli%3E%0A *        
  The
@@ -807,16 +807,24 @@
 ion's%0A *
+        
  period,
@@ -926,16 +926,24 @@
 y for%0A *
+        
  leave f
@@ -995,19 +995,37 @@
 ication.
-%3C/p
+%0A *     %3C/li%3E%0A * %3C/ol
 %3E%0A */%0Apu

structure javadoc