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)
-
-
-
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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-