public class DefaultTimeProvider extends Object implements TimeProvider
TimeProvider implementation based on the current system time.| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentTime()
Returns the current time.
|
static DefaultTimeProvider |
getInstance() |
public static final DefaultTimeProvider getInstance()
public long getCurrentTime()
TimeProvidergetCurrentTime in interface TimeProvidernullCopyright © 2007-2019 Red Hat, Inc. All Rights Reserved