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)
EventClockImpleventTime - - 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 EventClockpublic String getStoppageTime()
getStoppageTime in interface EventClockpublic String getStoppageTimeAnnounced()
getStoppageTimeAnnounced in interface EventClockpublic String getRemainingTime()
getRemainingTime in interface EventClockpublic String getRemainingTimeInPeriod()
getRemainingTimeInPeriod in interface EventClockpublic Boolean getStopped()
getStopped in interface EventClockpublic String toString()
String describing the current EventClock instancetoString in class ObjectString describing the current EventClock instanceCopyright © 2016–2025. All rights reserved.