Uses of Class
org.djunits.unit.DurationUnit
Package
Description
Units for version 4 of DJUNITS.
Utility classes for the unit package.
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
Float Scalar storage and calculations with units, absolute/relative.
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of DurationUnit in org.djunits.unit
Modifier and TypeFieldDescriptionstatic final DurationUnit
DurationUnit.DAY
day.static final DurationUnit
DurationUnit.HOUR
hour.static final DurationUnit
DurationUnit.MICROSECOND
microsecond.static final DurationUnit
DurationUnit.MILLISECOND
millisecond.static final DurationUnit
DurationUnit.MINUTE
minute.static final DurationUnit
DurationUnit.SECOND
second.static final DurationUnit
DurationUnit.SI
The SI unit for duration is second.static final DurationUnit
DurationUnit.WEEK
week.Modifier and TypeFieldDescriptionstatic final Quantity<DurationUnit>
DurationUnit.BASE
The base, with "s" as the SI signature. -
Uses of DurationUnit in org.djunits.unit.util
Modifier and TypeFieldDescriptionstatic final DurationUnit
UNITS.DAY
static final DurationUnit
UNITS.HOUR
static final DurationUnit
UNITS.MICROSECOND
static final DurationUnit
UNITS.MILLISECOND
static final DurationUnit
UNITS.MINUTE
static final DurationUnit
UNITS.SECOND
static final DurationUnit
UNITS.WEEK
-
Uses of DurationUnit in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionfinal DurationMatrix
SIMatrix.asDuration
(DurationUnit displayUnit) Return the current matrix as a duration matrix, and provide a display unit.DurationMatrix.instantiateMatrix
(DoubleMatrixData dmd, DurationUnit displayUnit) TimeMatrix.instantiateMatrixRel
(DoubleMatrixData dmd, DurationUnit displayUnit) TimeMatrix.instantiateScalarRelSI
(double valueSI, DurationUnit displayUnit) DurationMatrix.instantiateScalarSI
(double valueSI, DurationUnit displayUnit) DurationMatrix.instantiateVector
(DoubleVectorData dvd, DurationUnit displayUnit) TimeMatrix.instantiateVectorRel
(DoubleVectorData dvd, DurationUnit displayUnit) ModifierConstructorDescriptionDurationMatrix
(double[][] data, DurationUnit displayUnit) Construct a DurationMatrix from a double[][] object.DurationMatrix
(double[][] data, DurationUnit displayUnit, StorageType storageType) Construct a DurationMatrix from a double[][] object.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, DurationUnit displayUnit, int rows, int cols) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, DurationUnit displayUnit, int rows, int cols, StorageType storageType) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(DoubleMatrixData data, DurationUnit displayUnit) Construct a DurationMatrix from an internal data object.DurationMatrix
(Duration[][] data, DurationUnit displayUnit) Construct a DurationMatrix from an array of an array of Duration objects.DurationMatrix
(Duration[][] data, DurationUnit displayUnit, StorageType storageType) Construct a DurationMatrix from an array of an array of Duration objects.ModifierConstructorDescriptionDurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, int rows, int cols) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, int rows, int cols, StorageType storageType) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, DurationUnit displayUnit, int rows, int cols) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects.DurationMatrix
(Collection<DoubleSparseValue<DurationUnit, Duration>> data, DurationUnit displayUnit, int rows, int cols, StorageType storageType) Construct a DurationMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of DurationUnit in org.djunits.value.vdouble.scalar
Modifier and TypeMethodDescriptionfinal Duration
SIScalar.asDuration
(DurationUnit displayUnit) Return the current scalar as a duration, and provide a display unit.final Duration
Duration.instantiateRel
(double value, DurationUnit unit) final Duration
Time.instantiateRel
(double value, DurationUnit unit) ModifierConstructorDescriptionDuration
(double value, DurationUnit unit) Construct Duration scalar. -
Uses of DurationUnit in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionfinal DurationVector
SIVector.asDuration
(DurationUnit displayUnit) Return the current vector as a duration vector, and provide a display unit.TimeVector.instantiateScalarRelSI
(double valueSI, DurationUnit displayUnit) DurationVector.instantiateScalarSI
(double valueSI, DurationUnit displayUnit) DurationVector.instantiateVector
(DoubleVectorData dvd, DurationUnit displayUnit) TimeVector.instantiateVectorRel
(DoubleVectorData dvd, DurationUnit displayUnit) ModifierConstructorDescriptionDurationVector
(double[] data, DurationUnit displayUnit) Construct an DurationVector from a double[] object.DurationVector
(double[] data, DurationUnit displayUnit, StorageType storageType) Construct an DurationVector from a double[] object.DurationVector
(List<? extends Number> data, DurationUnit displayUnit) Construct an DurationVector from a list of Number objects or a list of Duration objects.DurationVector
(List<? extends Number> data, DurationUnit displayUnit, StorageType storageType) Construct an DurationVector from a list of Number objects or a list of Duration objects.DurationVector
(Map<Integer, ? extends Number> data, int size, DurationUnit displayUnit) Construct an DurationVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Duration objects.DurationVector
(Map<Integer, ? extends Number> data, int size, DurationUnit displayUnit, StorageType storageType) Construct an DurationVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Duration objects.DurationVector
(Duration[] data, DurationUnit displayUnit) Construct an DurationVector from an array of Duration objects.DurationVector
(Duration[] data, DurationUnit displayUnit, StorageType storageType) Construct an DurationVector from an array of Duration objects.DurationVector
(DoubleVectorData data, DurationUnit displayUnit) Construct an DurationVector from an internal data object. -
Uses of DurationUnit in org.djunits.value.vfloat.matrix
Modifier and TypeMethodDescriptionfinal FloatDurationMatrix
FloatSIMatrix.asDuration
(DurationUnit displayUnit) Return the current matrix as a duration matrix, and provide a display unit.FloatDurationMatrix.instantiateMatrix
(FloatMatrixData fmd, DurationUnit displayUnit) FloatTimeMatrix.instantiateMatrixRel
(FloatMatrixData fmd, DurationUnit displayUnit) FloatTimeMatrix.instantiateScalarRelSI
(float valueSI, DurationUnit displayUnit) FloatDurationMatrix.instantiateScalarSI
(float valueSI, DurationUnit displayUnit) FloatDurationMatrix.instantiateVector
(FloatVectorData fvd, DurationUnit displayUnit) FloatTimeMatrix.instantiateVectorRel
(FloatVectorData fvd, DurationUnit displayUnit) ModifierConstructorDescriptionFloatDurationMatrix
(float[][] data, DurationUnit displayUnit) Construct a FloatDurationMatrix from a float[][] object.FloatDurationMatrix
(float[][] data, DurationUnit displayUnit, StorageType storageType) Construct a FloatDurationMatrix from a float[][] object.FloatDurationMatrix
(Collection<FloatSparseValue<DurationUnit, FloatDuration>> data, DurationUnit displayUnit, int rows, int cols) Construct a FloatDurationMatrix from a (sparse) collection of FloatSparseValue objects.FloatDurationMatrix
(Collection<FloatSparseValue<DurationUnit, FloatDuration>> data, DurationUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatDurationMatrix from a (sparse) collection of FloatSparseValue objects.FloatDurationMatrix
(FloatMatrixData data, DurationUnit displayUnit) Construct a FloatDurationMatrix from an internal data object.FloatDurationMatrix
(FloatDuration[][] data, DurationUnit displayUnit) Construct a FloatDurationMatrix from an array of an array of FloatDuration objects.FloatDurationMatrix
(FloatDuration[][] data, DurationUnit displayUnit, StorageType storageType) Construct a FloatDurationMatrix from an array of an array of FloatDuration objects.ModifierConstructorDescriptionFloatDurationMatrix
(Collection<FloatSparseValue<DurationUnit, FloatDuration>> data, int rows, int cols) Construct a FloatDurationMatrix from a (sparse) collection of FloatSparseValue objects.FloatDurationMatrix
(Collection<FloatSparseValue<DurationUnit, FloatDuration>> data, int rows, int cols, StorageType storageType) Construct a FloatDurationMatrix from a (sparse) collection of FloatSparseValue objects.FloatDurationMatrix
(Collection<FloatSparseValue<DurationUnit, FloatDuration>> data, DurationUnit displayUnit, int rows, int cols) Construct a FloatDurationMatrix from a (sparse) collection of FloatSparseValue objects.FloatDurationMatrix
(Collection<FloatSparseValue<DurationUnit, FloatDuration>> data, DurationUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatDurationMatrix from a (sparse) collection of FloatSparseValue objects. -
Uses of DurationUnit in org.djunits.value.vfloat.scalar
Modifier and TypeMethodDescriptionfinal FloatDuration
FloatSIScalar.asDuration
(DurationUnit displayUnit) Return the current scalar as a duration, and provide a display unit.final FloatDuration
FloatDuration.instantiateRel
(float value, DurationUnit unit) final FloatDuration
FloatTime.instantiateRel
(float value, DurationUnit unit) ModifierConstructorDescriptionFloatDuration
(double value, DurationUnit unit) Construct FloatDuration scalar using a double value.FloatDuration
(float value, DurationUnit unit) Construct FloatDuration scalar. -
Uses of DurationUnit in org.djunits.value.vfloat.vector
Modifier and TypeMethodDescriptionfinal FloatDurationVector
FloatSIVector.asDuration
(DurationUnit displayUnit) Return the current vector as a duration vector, and provide a display unit.FloatTimeVector.instantiateScalarRelSI
(float valueSI, DurationUnit displayUnit) FloatDurationVector.instantiateScalarSI
(float valueSI, DurationUnit displayUnit) FloatDurationVector.instantiateVector
(FloatVectorData fvd, DurationUnit displayUnit) FloatTimeVector.instantiateVectorRel
(FloatVectorData fvd, DurationUnit displayUnit) ModifierConstructorDescriptionFloatDurationVector
(float[] data, DurationUnit displayUnit) Construct a FloatDurationVector from a float[] object.FloatDurationVector
(float[] data, DurationUnit displayUnit, StorageType storageType) Construct a FloatDurationVector from a float[] object.FloatDurationVector
(List<? extends Number> data, DurationUnit displayUnit) Construct a FloatDurationVector from a list of Number objects or a list of FloatDuration objects.FloatDurationVector
(List<? extends Number> data, DurationUnit displayUnit, StorageType storageType) Construct a FloatDurationVector from a list of Number objects or a list of FloatDuration objects.FloatDurationVector
(Map<Integer, ? extends Number> data, int size, DurationUnit displayUnit) Construct a FloatDurationVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatDuration objects.FloatDurationVector
(Map<Integer, ? extends Number> data, int size, DurationUnit displayUnit, StorageType storageType) Construct a FloatDurationVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatDuration objects.FloatDurationVector
(FloatDuration[] data, DurationUnit displayUnit) Construct a FloatDurationVector from an array of FloatDuration objects.FloatDurationVector
(FloatDuration[] data, DurationUnit displayUnit, StorageType storageType) Construct a FloatDurationVector from an array of FloatDuration objects.FloatDurationVector
(FloatVectorData data, DurationUnit displayUnit) Construct a FloatDurationVector from an internal data object.