1 /*******************************************************************************
2 * Copyright (c) 2012, 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Francois Chouinard - Initial API and implementation
11 * Francois Chouinard - Standardize on the default toString()
12 *******************************************************************************/
14 package org
.eclipse
.tracecompass
.tmf
.core
.timestamp
;
17 * A simplified timestamp where scale and precision are set to 0.
19 * @author Francois Chouinard
22 public class TmfSecondTimestamp
extends TmfTimestamp
{
24 private final long fValue
;
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
31 * Default constructor (value = 0)
33 public TmfSecondTimestamp() {
43 public TmfSecondTimestamp(final long value
) {
48 public int getScale() {
49 return ITmfTimestamp
.SECOND_SCALE
;
53 public long getValue() {
This page took 0.033361 seconds and 5 git commands to generate.