TimeWindow

wvlet.airframe.metrics.TimeWindow
See theTimeWindow companion object
case class TimeWindow(start: ZonedDateTime, end: ZonedDateTime)

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

Attributes

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

Members list

Concise view

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

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def toStringAt(zone: ZoneOffset): String
def weekDiff: Long
def yearDiff: Long

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product