TimeWindow

case class TimeWindow(start: ZonedDateTime, end: ZonedDateTime)

TimeWindow of [statrt, end) range. The end-side is open. start <= time < end

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def dateDiff: Long
def endEpochMillis: Long
def endUnixTime: Long
def hourDiff: Long
def howMany(unit: ChronoUnit): Long
def howMany(unit: TimeWindowUnit): Long
def intersectsWith(other: TimeWindow): Boolean
def minus(n: Long, unit: ChronoUnit): TimeWindow
def minuteDiff: Long
def monthDiff: Long
def plus(n: Long, unit: ChronoUnit): TimeWindow
def secondDiff: Long
def splitAt(date: ZonedDateTime): Seq[TimeWindow]
def startUnixTime: Long
override def toString: String
Definition Classes
Any
def toStringAt(zone: ZoneOffset): String
def weekDiff: Long
def yearDiff: Long

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product