Package org.javlo.utils
Class TimeTracker.TimeEvent
- java.lang.Object
-
- org.javlo.utils.TimeTracker.TimeEvent
-
- Enclosing class:
- TimeTracker
public static class TimeTracker.TimeEvent extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend(long newTime)StringgetLabel()longgetLatestTime()intgetNumber()StringgetPartOfTotalTime()longgetStartTime()StringgetTimeLabel()longgetTotalTime()booleanisInProgress()voidsetLabel(String label)voidsetNumber(int number)voidsetStartTime(long currentStartTime)voidsetTotalTime(long totalTime)
-
-
-
Method Detail
-
getTotalTime
public long getTotalTime()
-
setTotalTime
public void setTotalTime(long totalTime)
-
end
public void end(long newTime)
-
getStartTime
public long getStartTime()
-
setStartTime
public void setStartTime(long currentStartTime)
-
isInProgress
public boolean isInProgress()
-
getLatestTime
public long getLatestTime()
-
getNumber
public int getNumber()
-
setNumber
public void setNumber(int number)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getTimeLabel
public String getTimeLabel()
-
getPartOfTotalTime
public String getPartOfTotalTime()
-
-