lttng: Update copyright headers
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / core / ITimeRange.java
CommitLineData
73005152 1/**********************************************************************
df0b8ff4
BH
2 * Copyright (c) 2005, 2006 IBM Corporation and others.
3 * Copyright (c) 2011, 2012 Ericsson.
3bd46eef 4 *
73005152
BH
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
3bd46eef
AM
9 *
10 * Contributors:
73005152
BH
11 * IBM - Initial API and implementation
12 * Bernd Hufmann - Updated for TMF
13 **********************************************************************/
14package org.eclipse.linuxtools.tmf.ui.views.uml2sd.core;
15
3bd46eef 16import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
73005152
BH
17
18/**
df0b8ff4 19 * A interface for handling time ranges.
3bd46eef 20 *
df0b8ff4 21 * @version 1.0
73005152 22 * @author sveyrier
3bd46eef 23 *
73005152
BH
24 */
25public interface ITimeRange {
26
df0b8ff4
BH
27 /**
28 * Returns the time when the message began.
29 * @return the time when the message began
3bd46eef 30 * @since 2.0
df0b8ff4 31 */
4df4581d 32 public ITmfTimestamp getStartTime();
73005152 33
df0b8ff4
BH
34 /**
35 * Returns the time when the message ended.
3bd46eef 36 *
df0b8ff4 37 * @return the time when the message ended
3bd46eef 38 * @since 2.0
df0b8ff4 39 */
4df4581d 40 public ITmfTimestamp getEndTime();
73005152 41
df0b8ff4
BH
42 /**
43 * Returns flag to indicate whether time information is available or not.
3bd46eef
AM
44 *
45 * @return flag to indicate whether time information is available or not
df0b8ff4 46 */
73005152
BH
47 public boolean hasTimeInfo();
48}
This page took 0.034187 seconds and 5 git commands to generate.