Package org.djunits.unit
Class DurationUnit
- All Implemented Interfaces:
Serializable
,Cloneable
public class DurationUnit extends Unit<DurationUnit>
Standard duration units.
Copyright (c) 2015-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License
- Author:
- Alexander Verbraeck
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.unit.Unit
Unit.Builder<U extends Unit<U>>
-
Field Summary
Fields Modifier and Type Field Description static Quantity<DurationUnit>
BASE
The base, with "s" as the SI signature.static DurationUnit
DAY
day.static DurationUnit
HOUR
hour.static DurationUnit
MICROSECOND
microsecond.static DurationUnit
MILLISECOND
millisecond.static DurationUnit
MINUTE
minute.static DurationUnit
SECOND
second.static DurationUnit
SI
The SI unit for duration is second.static DurationUnit
WEEK
week. -
Constructor Summary
Constructors Constructor Description DurationUnit()
-
Method Summary
Methods inherited from class org.djunits.unit.Unit
build, clone, deriveLinear, deriveLinear, deriveLinear, derivePerSI, deriveSI, deriveSI, deriveSIKilo, equals, getAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getName, getQuantity, getScale, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, makeBuilder, toString
-
Field Details
-
BASE
The base, with "s" as the SI signature. -
SI
The SI unit for duration is second. -
SECOND
second. -
MICROSECOND
microsecond. -
MILLISECOND
millisecond. -
MINUTE
minute. -
HOUR
hour. -
DAY
day. -
WEEK
week.
-
-
Constructor Details
-
DurationUnit
public DurationUnit()
-