congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SystemClock
Code IndexAdd Tabnine to your IDE (free)

How to use
SystemClock
in
net.serenitybdd.core.time

Best Java code snippets using net.serenitybdd.core.time.SystemClock (Showing top 20 results out of 315)

origin: net.serenity-bdd/serenity-core

  public T hours() {
    clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
    return parent;
  }
}
origin: net.serenity-bdd/serenity-model

private ZonedDateTime now() {
  return getSystemClock().getCurrentTime();
}
origin: net.serenity-bdd/serenity-model

private ZonedDateTime now() {
  return getSystemClock().getCurrentTime();
}
origin: net.serenity-bdd/serenity-core

public T seconds() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/core

private DateTime now() {
  return getSystemClock().getCurrentTime();
}
origin: net.serenity-bdd/serenity-core

public T hour() {
  clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
  return parent;
}
origin: net.serenity-bdd/core

private DateTime now() {
  return getSystemClock().getCurrentTime();
}
origin: net.serenity-bdd/core

public T minute() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T millisecond() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T milliseconds() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T minutes() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/core

public T second() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/core

public T seconds() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/core

public T minutes() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/core

  public T hours() {
    clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
    return parent;
  }
}
origin: net.serenity-bdd/serenity-core

public T second() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T minute() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/core

public T millisecond() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/core

public T milliseconds() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/core

public T hour() {
  clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
  return parent;
}
net.serenitybdd.core.timeSystemClock

Javadoc

Find the current system time.

Most used methods

  • pauseFor
  • getCurrentTime

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now