org.specs2

time

package time

Visibility
  1. Public
  2. All

Type Members

  1. class Duration extends AnyRef

    Time duration.

  2. trait HmsTimer[T <: HmsTimer[T]] extends AnyRef

    This trait provides Timer functionalities based on the Java Calendar milliseconds

  3. trait NoTimeConversions extends TimeConversions

    This trait can be used to deactivate the time conversions (to avoid conflicts with Akka's conversions for example

  4. class SimpleTimer extends HmsTimer[SimpleTimer]

  5. class Time extends Duration

  6. trait TimeConversions extends AnyRef

    This object provides functions to describe units of time

Value Members

  1. object SimpleTimer

  2. object Time

    Use Time.now in your app instead of System.currentTimeMillis, and unit tests will be able to adjust the current time to verify timeouts and other time-dependent behavior, without calling sleep.

  3. object TimeConversions extends TimeConversions