org.activiti.engine.runtime

## Interface Clock

- All Superinterfaces:
    ClockReader

      public interface Clock
      extends ClockReader

  This interface provides full access to the clock

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `reset()`
    `void` | `setCurrentCalendar(Calendar currentTime)`
    `void` | `setCurrentTime(Date currentTime)`

    - ### Methods inherited from interface org.activiti.engine.runtime.ClockReader

      `getCurrentCalendar, getCurrentCalendar, getCurrentTime, getCurrentTimeZone`

- - ### Method Detail

    - #### setCurrentTime

          void setCurrentTime(Date currentTime)

    - #### setCurrentCalendar

          void setCurrentCalendar(Calendar currentTime)

    - #### reset

          void reset()

Copyright © 2016 Alfresco. All rights reserved.