nl.tudelft.simulation.dsol.experiment
Interface TimeUnitInterface

All Superinterfaces:
Serializable
All Known Implementing Classes:
TimeUnit

public interface TimeUnitInterface
extends Serializable

The TimeUnitInterface defines the simulator time units.
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:21:31 $
Author:
Peter Jacobs , Alexander Verbraeck

Field Summary
static TimeUnitInterface DAY
          DAY reflects the DAY
static TimeUnitInterface HOUR
          HOUR reflects the HOUR
static TimeUnitInterface MILLISECOND
          MILLISECOND reflects the MILLISECONDS
static TimeUnitInterface MINUTE
          MINUTE reflects the MINUTE
static TimeUnitInterface SECOND
          SECOND reflects the SECOND
static TimeUnitInterface UNIT
          UNIT reflects the non actual time related unit
static TimeUnitInterface WEEK
          WEEK reflects the WEEK
 
Method Summary
 long getValue()
          Method getValue.This method returns the number of timeunits relative to milliseconds
 

Field Detail

UNIT

static final TimeUnitInterface UNIT
UNIT reflects the non actual time related unit


MILLISECOND

static final TimeUnitInterface MILLISECOND
MILLISECOND reflects the MILLISECONDS


SECOND

static final TimeUnitInterface SECOND
SECOND reflects the SECOND


MINUTE

static final TimeUnitInterface MINUTE
MINUTE reflects the MINUTE


HOUR

static final TimeUnitInterface HOUR
HOUR reflects the HOUR


DAY

static final TimeUnitInterface DAY
DAY reflects the DAY


WEEK

static final TimeUnitInterface WEEK
WEEK reflects the WEEK

Method Detail

getValue

long getValue()
Method getValue.This method returns the number of timeunits relative to milliseconds

Returns:
long


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.