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()
TimeProvider
getCurrentTime
in interface TimeProvider
null
Copyright © 2007-2019 Red Hat, Inc. All Rights Reserved