Example usage for java.time Clock subclass-usage

List of usage examples for java.time Clock subclass-usage

Introduction

In this page you can find the example usage for java.time Clock subclass-usage.

Usage

From source file org.apache.james.queue.rabbitmq.UpdatableTickingClock.java

class UpdatableTickingClock extends Clock {
    private Instant currentInstant;

    UpdatableTickingClock(Instant currentInstant) {
        this.currentInstant = currentInstant;
    }