case class TimeWindow(start: ZonedDateTime, end: ZonedDateTime) extends Product with Serializable
TimeWindow of [statrt, end) range. The end-side is open. start <= time < end
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TimeWindow
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TimeWindow(start: ZonedDateTime, end: ZonedDateTime)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def dateDiff: Long
- val end: ZonedDateTime
- def endEpochMillis: Long
- def endUnixTime: Long
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hourDiff: Long
- def howMany(unit: TimeWindowUnit): Long
- def howMany(unit: ChronoUnit): Long
- def intersectsWith(other: TimeWindow): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def minus(n: Long, unit: ChronoUnit): TimeWindow
- def minuteDiff: Long
- def monthDiff: Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def plus(n: Long, unit: ChronoUnit): TimeWindow
- def secondDiff: Long
- def splitAt(date: ZonedDateTime): Seq[TimeWindow]
- def splitIntoDays: Seq[TimeWindow]
- def splitIntoHours: Seq[TimeWindow]
- def splitIntoMonths: Seq[TimeWindow]
- def splitIntoWeeks: Seq[TimeWindow]
- val start: ZonedDateTime
- def startEpochMillis: Long
- def startUnixTime: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- TimeWindow → AnyRef → Any
- def toStringAt(zone: ZoneOffset): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def weekDiff: Long
- def yearDiff: Long
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated