public class EventClockImpl extends Object implements EventClock
Constructor and Description |
---|
EventClockImpl(String eventTime,
String stoppageTime,
String stoppageTimeAnnounced,
String remainingTime,
String remainingTimeInPeriod,
Boolean stopped)
Initializes a new instance of
EventClockImpl |
Modifier and Type | Method and Description |
---|---|
String |
getEventTime()
Returns the current event time
|
String |
getRemainingTime()
Returns the remaining event time
|
String |
getRemainingTimeInPeriod()
Returns the remaining period time
|
String |
getStoppageTime()
Returns te event stoppage time
|
String |
getStoppageTimeAnnounced()
Returns the time in which the event stoppage time was announced
|
Boolean |
getStopped()
Returns an indication if the event clock is currently stopped
|
String |
toString()
Returns a
String describing the current EventClock instance |
public EventClockImpl(String eventTime, String stoppageTime, String stoppageTimeAnnounced, String remainingTime, String remainingTimeInPeriod, Boolean stopped)
EventClockImpl
eventTime
- - a String
description of the current event timestoppageTime
- - a String
description of the stoppage timestoppageTimeAnnounced
- - a String
description of when the stoppage time was announcedremainingTime
- - a String
description of the remaining timeremainingTimeInPeriod
- - a String
description of the remaining period timestopped
- - an indication if the event clock is currently stoppedpublic String getEventTime()
getEventTime
in interface EventClock
public String getStoppageTime()
getStoppageTime
in interface EventClock
public String getStoppageTimeAnnounced()
getStoppageTimeAnnounced
in interface EventClock
public String getRemainingTime()
getRemainingTime
in interface EventClock
public String getRemainingTimeInPeriod()
getRemainingTimeInPeriod
in interface EventClock
public Boolean getStopped()
getStopped
in interface EventClock
public String toString()
String
describing the current EventClock
instancetoString
in class Object
String
describing the current EventClock
instanceCopyright © 2016–2025. All rights reserved.