tmf: Move timestamps to their own package
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / core / ITimeRange.java
1 /**********************************************************************
2 * Copyright (c) 2005, 2006 IBM Corporation and others.
3 * Copyright (c) 2011, 2012 Ericsson.
4 *
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
9 *
10 * Contributors:
11 * IBM - Initial API and implementation
12 * Bernd Hufmann - Updated for TMF
13 **********************************************************************/
14 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.core;
15
16 import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
17
18 /**
19 * A interface for handling time ranges.
20 *
21 * @version 1.0
22 * @author sveyrier
23 *
24 */
25 public interface ITimeRange {
26
27 /**
28 * Returns the time when the message began.
29 * @return the time when the message began
30 * @since 2.0
31 */
32 public ITmfTimestamp getStartTime();
33
34 /**
35 * Returns the time when the message ended.
36 *
37 * @return the time when the message ended
38 * @since 2.0
39 */
40 public ITmfTimestamp getEndTime();
41
42 /**
43 * Returns flag to indicate whether time information is available or not.
44 *
45 * @return flag to indicate whether time information is available or not
46 */
47 public boolean hasTimeInfo();
48 }
This page took 0.030687 seconds and 5 git commands to generate.