org.specs2

time

package time

Visibility
  1. Public
  2. All

Type Members

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

    This trait provides Timer functionalities based on the Java Calendar milliseconds

  2. class SimpleTimer extends HmsTimer[SimpleTimer]

  3. trait TimeConversions extends AnyRef

    This object provides functions to describe units of time

Value Members

  1. object SimpleTimer extends AnyRef

  2. object Time extends AnyRef

    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