public interface TimeFormatter
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildTimeString(TimeInstant instant)
Returns the String representation of the given instant of time.
|
java.lang.String |
buildTimeString(TimeSpan span)
Returns the String representation of the given span of time.
|
java.lang.String |
getUnit()
The units used to format time span and time instants.
|
java.lang.String buildTimeString(TimeInstant instant)
instant - TimeInstant: the instant of time to be formattedjava.lang.String buildTimeString(TimeSpan span)
span - TimeSpan: the instant of time to be formattedjava.lang.String getUnit()