public class DefaultClockProvider extends Object implements ClockProvider
ClockProvider
implementation which returns the current system time in the default time zone using
Clock.systemDefaultZone()
.Modifier and Type | Field and Description |
---|---|
static DefaultClockProvider |
INSTANCE |
public static final DefaultClockProvider INSTANCE
public Clock getClock()
getClock
in interface ClockProvider
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved