set method

void set(
  1. DateTime time
)

Sets the clock to an explicit time.

Implementation

void set(DateTime time) {
  _now = time;
}