public class TimeDurationOther extends TimeDuration
seconds, value
Constructor and Description |
---|
TimeDurationOther()
Instantiates a new time duration other.
|
Modifier and Type | Method and Description |
---|---|
int |
toSeconds(int value)
To seconds.
|
java.lang.String |
toString() |
public TimeDurationOther()
public java.lang.String toString()
toString
in class TimeDuration
public int toSeconds(int value)
TimeDuration
toSeconds
in class TimeDuration
value
- the value