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 ClockProviderCopyright © 2007-2020 Red Hat, Inc. All Rights Reserved