RichDuration

io.github.chronoscala.RichDuration
final class RichDuration(val underlying: Duration) extends AnyVal, Ordered[Duration]

Attributes

Source
RichDuration.scala
Graph
Supertypes
trait Ordered[Duration]
trait Comparable[Duration]
class Object
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def +(millis: Long): Duration

Attributes

Source
RichDuration.scala
def +(duration: Duration): Duration

Attributes

Source
RichDuration.scala
def -(millis: Long): Duration

Attributes

Source
RichDuration.scala
def -(duration: Duration): Duration

Attributes

Source
RichDuration.scala
override def compare(that: Duration): Int

Attributes

Definition Classes
Ordered
Source
RichDuration.scala
def hours: Long

Attributes

Source
RichDuration.scala
def millis: Long

Attributes

Source
RichDuration.scala
def minutes: Long

Attributes

Source
RichDuration.scala
def seconds: Long

Attributes

Source
RichDuration.scala
def unary_-: Duration

Attributes

Source
RichDuration.scala

Inherited methods

def <(that: Duration): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Duration): Boolean

Attributes

Inherited from:
Ordered
def >(that: Duration): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Duration): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: Duration): Int

Attributes

Inherited from:
Ordered

Concrete fields

val underlying: Duration

Attributes

Source
RichDuration.scala