TimeWindowBuilder

wvlet.airframe.metrics.TimeWindowBuilder
class TimeWindowBuilder(val zone: ZoneOffset, currentTime: Option[ZonedDateTime]) extends LogSupport

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def beginningOfTheDay: ZonedDateTime
def beginningOfTheHour: ZonedDateTime
def beginningOfTheMonth: ZonedDateTime
def beginningOfTheWeek: ZonedDateTime
def beginningOfTheYear: ZonedDateTime
def endOfTheDay: ZonedDateTime
def endOfTheHour: ZonedDateTime
def endOfTheMonth: ZonedDateTime
def endOfTheWeek: ZonedDateTime
def endOfTheYear: ZonedDateTime
def fromRange(startUnixTime: Long, endUnixTime: Long): TimeWindow
def now: ZonedDateTime
def parse(str: String): TimeWindow
def withOffset(t: ZonedDateTime): TimeWindowBuilder
def withOffset(dateTimeStr: String): TimeWindowBuilder

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods

Concrete fields

val zone: ZoneOffset