de.unikassel.android.sdcframework.util
Class TimeInformation
java.lang.Object
de.unikassel.android.sdcframework.util.TimeInformation
public class TimeInformation
- extends Object
Class for internal time informqation.
Field Summary |
boolean |
synced
Flag if the time stamp was taken while time provider was in sync with NTP
time. |
long |
ts
The time stamp. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ts
public final long ts
- The time stamp.
synced
public final boolean synced
- Flag if the time stamp was taken while time provider was in sync with NTP
time.
TimeInformation
public TimeInformation(long ts,
boolean synced)
- Constructor
- Parameters:
ts
- the time stampsynced
- the synchronization state