-
public class EventTimer
-
-
Field Summary
Fields Modifier and Type Field Description private longstartTimeprivate longeventAccumulatedDurationprivate longbackgroundDuration
-
Constructor Summary
Constructors Constructor Description EventTimer(TimeUnit timeUnit, long systemUpdateTime)
-
Method Summary
Modifier and Type Method Description longgetStartTime()voidsetStartTime(long startTime)longgetEventAccumulatedDuration()voidsetEventAccumulatedDuration(long eventAccumulatedDuration)longgetBackgroundDuration()voidsetBackgroundDuration(long backgroundDuration)Stringduration(long systemUpdateTime)StringbackgroundDuration()-
-
Constructor Detail
-
EventTimer
EventTimer(TimeUnit timeUnit, long systemUpdateTime)
-
-
Method Detail
-
getStartTime
long getStartTime()
-
setStartTime
void setStartTime(long startTime)
-
getEventAccumulatedDuration
long getEventAccumulatedDuration()
-
setEventAccumulatedDuration
void setEventAccumulatedDuration(long eventAccumulatedDuration)
-
getBackgroundDuration
long getBackgroundDuration()
-
setBackgroundDuration
void setBackgroundDuration(long backgroundDuration)
-
backgroundDuration
String backgroundDuration()
-
-
-
-