- if (eventDuration > 0) {
- addItem(Messages.TmfTimeTipHandler_TRACE_START_TIME, eventStartTime > -1 ?
- Utils.formatTime(eventStartTime, TimeFormat.ABSOLUTE, res)
- : "?"); //$NON-NLS-1$
-
- addItem(Messages.TmfTimeTipHandler_TRACE_STOP_TIME, eventEndTime > -1 ?
- Utils.formatTime(eventEndTime, TimeFormat.ABSOLUTE, res)
- : "?"); //$NON-NLS-1$
- } else {
- addItem(Messages.TmfTimeTipHandler_TRACE_EVENT_TIME, eventStartTime > -1 ?
- Utils.formatTime(eventStartTime, TimeFormat.ABSOLUTE, res)
- : "?"); //$NON-NLS-1$
- }
+ }
+ if (eventDuration > 0) {
+ addItem(Messages.TmfTimeTipHandler_TRACE_START_TIME, eventStartTime > -1 ?
+ Utils.formatTime(eventStartTime, tf, res)
+ : "?"); //$NON-NLS-1$
+
+ addItem(Messages.TmfTimeTipHandler_TRACE_STOP_TIME, eventEndTime > -1 ?
+ Utils.formatTime(eventEndTime, tf, res)
+ : "?"); //$NON-NLS-1$