Package com.xebialabs.xlrelease.domain.blackout

## Class BlackoutPeriod

- java.lang.Object
- - com.xebialabs.xlrelease.domain.blackout.BlackoutPeriod

- All Implemented Interfaces:
    `java.io.Serializable`, `scala.Equals`, `scala.Product`

      public class BlackoutPeriod
      extends java.lang.Object
      implements scala.Product, java.io.Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BlackoutPeriod​(java.util.Date startDate, java.util.Date endDate)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static BlackoutPeriod` | `apply​(java.util.Date startDate, java.util.Date endDate)` |
    `boolean` | `canEqual​(java.lang.Object x$1)` |
    `boolean` | `contains​(java.util.Date now)` |
    `BlackoutPeriod` | `copy​(java.util.Date startDate, java.util.Date endDate)` |
    `java.util.Date` | `copy$default$1()` |
    `java.util.Date` | `copy$default$2()` |
    `java.util.Date` | `endDate()` |
    `boolean` | `equals​(java.lang.Object x$1)` |
    `int` | `hashCode()` |
    `boolean` | `overlapsWith​(BlackoutPeriod other)` |
    `int` | `productArity()` |
    `java.lang.Object` | `productElement​(int x$1)` |
    `java.lang.String` | `productElementName​(int x$1)` |
    `scala.collection.Iterator<java.lang.Object>` | `productIterator()` |
    `java.lang.String` | `productPrefix()` |
    `java.util.Date` | `startDate()` |
    `static long` | `toLong​(java.util.Date date)` |
    `java.lang.String` | `toString()` |
    `static scala.Option<scala.Tuple2<java.util.Date,​java.util.Date>>` | `unapply​(BlackoutPeriod x$0)` |
    `BlackoutPeriod` | `unionWith​(BlackoutPeriod other)` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface scala.Product

      `productElementNames`

- - ### Constructor Detail

    - #### BlackoutPeriod

          public BlackoutPeriod​(java.util.Date startDate,
                                java.util.Date endDate)

  - ### Method Detail

    - #### toLong

          public static long toLong​(java.util.Date date)

    - #### apply

          public static BlackoutPeriod apply​(java.util.Date startDate,
                                             java.util.Date endDate)

    - #### unapply

          public static scala.Option<scala.Tuple2<java.util.Date,​java.util.Date>> unapply​(BlackoutPeriod x$0)

    - #### startDate

          public java.util.Date startDate()

    - #### endDate

          public java.util.Date endDate()

    - #### contains

          public boolean contains​(java.util.Date now)

    - #### overlapsWith

          public boolean overlapsWith​(BlackoutPeriod other)

    - #### unionWith

          public BlackoutPeriod unionWith​(BlackoutPeriod other)

    - #### copy

          public BlackoutPeriod copy​(java.util.Date startDate,
                                     java.util.Date endDate)

    - #### copy$default$1

          public java.util.Date copy$default$1()

    - #### copy$default$2

          public java.util.Date copy$default$2()

    - #### productPrefix

          public java.lang.String productPrefix()

      Specified by:
        `productPrefix` in interface `scala.Product`

    - #### productArity

          public int productArity()

      Specified by:
        `productArity` in interface `scala.Product`

    - #### productElement

          public java.lang.Object productElement​(int x$1)

      Specified by:
        `productElement` in interface `scala.Product`

    - #### productIterator

          public scala.collection.Iterator<java.lang.Object> productIterator()

      Specified by:
        `productIterator` in interface `scala.Product`

    - #### canEqual

          public boolean canEqual​(java.lang.Object x$1)

      Specified by:
        `canEqual` in interface `scala.Equals`

    - #### productElementName

          public java.lang.String productElementName​(int x$1)

      Specified by:
        `productElementName` in interface `scala.Product`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### equals

          public boolean equals​(java.lang.Object x$1)

      Specified by:
        `equals` in interface `scala.Equals`
      Overrides:
        `equals` in class `java.lang.Object`