Interval

zio.Schedule.Interval
See theInterval companion class
object Interval extends (OffsetDateTime, OffsetDateTime) => Interval

Attributes

Companion
class
Graph
Supertypes
trait (OffsetDateTime, OffsetDateTime) => Interval
class Object
trait Matchable
class Any
Self type
Interval.type

Members list

Value members

Concrete methods

def after(start: OffsetDateTime): Interval
def apply(start: OffsetDateTime, end: OffsetDateTime): Interval

Constructs a new interval from the two specified endpoints. If the start endpoint greater than the end endpoint, then a zero size interval will be returned.

Constructs a new interval from the two specified endpoints. If the start endpoint greater than the end endpoint, then a zero size interval will be returned.

Attributes

def before(end: OffsetDateTime): Interval

Inherited methods

def curried: OffsetDateTime => OffsetDateTime => Interval

Attributes

Inherited from:
Function2
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
Function2 -> Any
Inherited from:
Function2
def tupled: ((OffsetDateTime, OffsetDateTime)) => Interval

Attributes

Inherited from:
Function2

Concrete fields

An interval of zero-width.

An interval of zero-width.

Attributes