Package fi.sportti.app
Class RecordController
- java.lang.Object
-
- fi.sportti.app.RecordController
-
public class RecordController extends java.lang.Object
Controller for keeping up timer for recorded exercise It saves timer data to shared preferences
-
-
Constructor Summary
Constructors Constructor Description RecordController(android.content.Context context)
RecordController saves timer recorded data into shared preferences.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.ZonedDateTime
getStartTime()
java.time.ZonedDateTime
getStopTime()
boolean
getTimerCounting()
int
getTimerStartCount()
void
setStartTime(java.time.ZonedDateTime date)
void
setStopTime(java.time.ZonedDateTime date)
void
setTimerCounting(java.lang.Boolean value)
void
zeroTimerStartCount()
-
-
-
Method Detail
-
getStartTime
public java.time.ZonedDateTime getStartTime()
-
setStartTime
public void setStartTime(java.time.ZonedDateTime date)
-
getStopTime
public java.time.ZonedDateTime getStopTime()
-
setStopTime
public void setStopTime(java.time.ZonedDateTime date)
-
getTimerCounting
public boolean getTimerCounting()
-
getTimerStartCount
public int getTimerStartCount()
-
setTimerCounting
public void setTimerCounting(java.lang.Boolean value)
-
zeroTimerStartCount
public void zeroTimerStartCount()
-
-