Class RealTimeTimeProvider
java.lang.Object
com.sportradar.livedata.sdk.common.timer.TimeProviderBase
com.sportradar.livedata.sdk.common.timer.RealTimeTimeProvider
A
TimeProviderBase implementation which uses system time- Author:
- uros.bregar
-
Field Summary
Fields inherited from class com.sportradar.livedata.sdk.common.timer.TimeProviderBase
current -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sportradar.livedata.sdk.common.timer.TimeProviderBase
getCurrent, getCurrentTime, getFutureDate, resetToRealTime, setCurrent
-
Constructor Details
-
RealTimeTimeProvider
public RealTimeTimeProvider()
-
-
Method Details
-
getDate
Gets theDatespecifying the current date and time.- Specified by:
getDatein classTimeProviderBase- Returns:
- The
Datespecifying the current date and time.
-
getDateTime
public org.joda.time.DateTime getDateTime()When overridden in derived class, gets theDateTimespecifying the current date and time.- Specified by:
getDateTimein classTimeProviderBase- Returns:
- the
DateTimespecifying the current date and time.
-