Uses of Class
org.djunits.unit.TimeUnit
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 TimeUnit in org.djunits.unit
Modifier and TypeFieldDescriptionstatic final TimeUnit
TimeUnit.BASE_DAY
The base unit for time with an artificial "zero" point with a calculation in days.static final TimeUnit
TimeUnit.BASE_HOUR
The base unit for time with an artificial "zero" point with a calculation in hours.static final TimeUnit
TimeUnit.BASE_MICROSECOND
The base unit for time with an artificial "zero" point with a calculation in microseconds.static final TimeUnit
TimeUnit.BASE_MILLISECOND
The base unit for time with an artificial "zero" point with a calculation in milliseconds.static final TimeUnit
TimeUnit.BASE_MINUTE
The base unit for time with an artificial "zero" point with a calculation in minutes.static final TimeUnit
TimeUnit.BASE_SECOND
The base unit for time with an artifical "zero" point with a calculation in seconds.static final TimeUnit
TimeUnit.BASE_WEEK
The base unit for time with an artificial "zero" point with a calculation in weeks.static final TimeUnit
TimeUnit.DEFAULT
The default unit for time is BASE_SECOND.static final TimeUnit
TimeUnit.EPOCH_DAY
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in days.static final TimeUnit
TimeUnit.EPOCH_HOUR
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in hours.static final TimeUnit
TimeUnit.EPOCH_J2000_SECOND
The Epoch with J2000.0 as the origin, which is The Gregorian date January 1, 2000 at 12:00 GMT (noon) with a calculation in seconds.static final TimeUnit
TimeUnit.EPOCH_MICROSECOND
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in microseconds.static final TimeUnit
TimeUnit.EPOCH_MILLISECOND
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in milliseconds.static final TimeUnit
TimeUnit.EPOCH_MINUTE
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in minutes.static final TimeUnit
TimeUnit.EPOCH_SECOND
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in seconds.static final TimeUnit
TimeUnit.EPOCH_WEEK
The POSIX and Gregorian Epoch: January 1, 1970 at 00:00 UTC with a calculation in weeks.static final TimeUnit
TimeUnit.EPOCH_YEAR1_SECOND
The Epoch with 0001-01-01 AD at 00:00 as the origin with a calculation in seconds. -
Uses of TimeUnit in org.djunits.unit.util
Modifier and TypeFieldDescriptionstatic final TimeUnit
UNITS.BASE_DAY
static final TimeUnit
UNITS.BASE_HOUR
static final TimeUnit
UNITS.BASE_MICROSECOND
static final TimeUnit
UNITS.BASE_MILLISECOND
static final TimeUnit
UNITS.BASE_MINUTE
static final TimeUnit
UNITS.BASE_SECOND
static final TimeUnit
UNITS.BASE_WEEK
static final TimeUnit
UNITS.EPOCH_DAY
static final TimeUnit
UNITS.EPOCH_HOUR
static final TimeUnit
UNITS.EPOCH_J2000_SECOND
static final TimeUnit
UNITS.EPOCH_MICROSECOND
static final TimeUnit
UNITS.EPOCH_MILLISECOND
static final TimeUnit
UNITS.EPOCH_MINUTE
static final TimeUnit
UNITS.EPOCH_SECOND
static final TimeUnit
UNITS.EPOCH_WEEK
static final TimeUnit
UNITS.EPOCH_YEAR1_SECOND
-
Uses of TimeUnit in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionTimeMatrix.instantiateMatrix
(DoubleMatrixData dmd, TimeUnit displayUnit) Instantiate a new matrix of the class of this matrix.DurationMatrix.instantiateMatrixAbs
(DoubleMatrixData dmd, TimeUnit displayUnit) Instantiate a new absolute matrix of the class of this relative matrix.DurationMatrix.instantiateScalarAbsSI
(double valueSI, TimeUnit displayUnit) Instantiate a new absolute scalar for the class of this relative matrix.TimeMatrix.instantiateScalarSI
(double valueSI, TimeUnit displayUnit) Instantiate a new scalar for the class of this matrix.TimeMatrix.instantiateVector
(DoubleVectorData dvd, TimeUnit displayUnit) Instantiate a new vector of the class of this matrix.DurationMatrix.instantiateVectorAbs
(DoubleVectorData dvd, TimeUnit displayUnit) Instantiate a new absolute vector of the class of this relative matrix.ModifierConstructorDescriptionTimeMatrix
(double[][] data, TimeUnit displayUnit) Construct a TimeMatrix from a double[][] object.TimeMatrix
(double[][] data, TimeUnit displayUnit, StorageType storageType) Construct a TimeMatrix from a double[][] object.TimeMatrix
(Collection<DoubleSparseValue<TimeUnit, Time>> data, TimeUnit displayUnit, int rows, int cols) Construct a TimeMatrix from a (sparse) collection of DoubleSparseValue objects.TimeMatrix
(Collection<DoubleSparseValue<TimeUnit, Time>> data, TimeUnit displayUnit, int rows, int cols, StorageType storageType) Construct a TimeMatrix from a (sparse) collection of DoubleSparseValue objects.TimeMatrix
(DoubleMatrixData data, TimeUnit displayUnit) Construct a TimeMatrix from an internal data object.TimeMatrix
(Time[][] data, TimeUnit displayUnit) Construct a TimeMatrix from an array of an array of Time objects.TimeMatrix
(Time[][] data, TimeUnit displayUnit, StorageType storageType) Construct a TimeMatrix from an array of an array of Time objects.ModifierConstructorDescriptionTimeMatrix
(Collection<DoubleSparseValue<TimeUnit, Time>> data, int rows, int cols) Construct a TimeMatrix from a (sparse) collection of DoubleSparseValue objects.TimeMatrix
(Collection<DoubleSparseValue<TimeUnit, Time>> data, int rows, int cols, StorageType storageType) Construct a TimeMatrix from a (sparse) collection of DoubleSparseValue objects.TimeMatrix
(Collection<DoubleSparseValue<TimeUnit, Time>> data, TimeUnit displayUnit, int rows, int cols) Construct a TimeMatrix from a (sparse) collection of DoubleSparseValue objects.TimeMatrix
(Collection<DoubleSparseValue<TimeUnit, Time>> data, TimeUnit displayUnit, int rows, int cols, StorageType storageType) Construct a TimeMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of TimeUnit in org.djunits.value.vdouble.scalar
Modifier and TypeMethodDescriptionfinal Time
Duration.instantiateAbs
(double value, TimeUnit unit) Construct a new Absolute Immutable DoubleScalar of the right type.final Time
Time.instantiateAbs
(double value, TimeUnit unit) Construct a new Absolute Immutable DoubleScalar of the right type. -
Uses of TimeUnit in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionDurationVector.instantiateScalarAbsSI
(double valueSI, TimeUnit displayUnit) Instantiate a new absolute scalar for the class of this relative vector.TimeVector.instantiateScalarSI
(double valueSI, TimeUnit displayUnit) Instantiate a new scalar for the class of this vector.TimeVector.instantiateVector
(DoubleVectorData dvd, TimeUnit displayUnit) Instantiate a new vector of the class of this vector.DurationVector.instantiateVectorAbs
(DoubleVectorData dvd, TimeUnit displayUnit) Instantiate a new absolute vector of the class of this relative vector.ModifierConstructorDescriptionTimeVector
(double[] data, TimeUnit displayUnit) Construct an TimeVector from a double[] object.TimeVector
(double[] data, TimeUnit displayUnit, StorageType storageType) Construct an TimeVector from a double[] object.TimeVector
(List<? extends Number> data, TimeUnit displayUnit) Construct an TimeVector from a list of Number objects or a list of Time objects.TimeVector
(List<? extends Number> data, TimeUnit displayUnit, StorageType storageType) Construct an TimeVector from a list of Number objects or a list of Time objects.TimeVector
(Map<Integer, ? extends Number> data, int size, TimeUnit displayUnit) Construct an TimeVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Time objects.TimeVector
(Map<Integer, ? extends Number> data, int size, TimeUnit displayUnit, StorageType storageType) Construct an TimeVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Time objects.TimeVector
(Time[] data, TimeUnit displayUnit) Construct an TimeVector from an array of Time objects.TimeVector
(Time[] data, TimeUnit displayUnit, StorageType storageType) Construct an TimeVector from an array of Time objects.TimeVector
(DoubleVectorData data, TimeUnit displayUnit) Construct an TimeVector from an internal data object. -
Uses of TimeUnit in org.djunits.value.vfloat.matrix
Modifier and TypeMethodDescriptionFloatTimeMatrix.instantiateMatrix
(FloatMatrixData fmd, TimeUnit displayUnit) Instantiate a new matrix of the class of this matrix.FloatDurationMatrix.instantiateMatrixAbs
(FloatMatrixData fmd, TimeUnit displayUnit) Instantiate a new absolute matrix of the class of this relative matrix.FloatDurationMatrix.instantiateScalarAbsSI
(float valueSI, TimeUnit displayUnit) Instantiate a new absolute scalar for the class of this relative matrix.FloatTimeMatrix.instantiateScalarSI
(float valueSI, TimeUnit displayUnit) Instantiate a new scalar for the class of this matrix.FloatTimeMatrix.instantiateVector
(FloatVectorData fvd, TimeUnit displayUnit) Instantiate a new vector of the class of this matrix.FloatDurationMatrix.instantiateVectorAbs
(FloatVectorData fvd, TimeUnit displayUnit) Instantiate a new absolute vector of the class of this relative matrix.ModifierConstructorDescriptionFloatTimeMatrix
(float[][] data, TimeUnit displayUnit) Construct a FloatTimeMatrix from a float[][] object.FloatTimeMatrix
(float[][] data, TimeUnit displayUnit, StorageType storageType) Construct a FloatTimeMatrix from a float[][] object.FloatTimeMatrix
(Collection<FloatSparseValue<TimeUnit, FloatTime>> data, TimeUnit displayUnit, int rows, int cols) Construct a FloatTimeMatrix from a (sparse) collection of FloatSparseValue objects.FloatTimeMatrix
(Collection<FloatSparseValue<TimeUnit, FloatTime>> data, TimeUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatTimeMatrix from a (sparse) collection of FloatSparseValue objects.FloatTimeMatrix
(FloatMatrixData data, TimeUnit displayUnit) Construct a TimeMatrix from an internal data object.FloatTimeMatrix
(FloatTime[][] data, TimeUnit displayUnit) Construct a FloatTimeMatrix from an array of an array of FloatTime objects.FloatTimeMatrix
(FloatTime[][] data, TimeUnit displayUnit, StorageType storageType) Construct a FloatTimeMatrix from an array of an array of FloatTime objects.ModifierConstructorDescriptionFloatTimeMatrix
(Collection<FloatSparseValue<TimeUnit, FloatTime>> data, int rows, int cols) Construct a FloatTimeMatrix from a (sparse) collection of FloatSparseValue objects.FloatTimeMatrix
(Collection<FloatSparseValue<TimeUnit, FloatTime>> data, int rows, int cols, StorageType storageType) Construct a FloatTimeMatrix from a (sparse) collection of FloatSparseValue objects.FloatTimeMatrix
(Collection<FloatSparseValue<TimeUnit, FloatTime>> data, TimeUnit displayUnit, int rows, int cols) Construct a FloatTimeMatrix from a (sparse) collection of FloatSparseValue objects.FloatTimeMatrix
(Collection<FloatSparseValue<TimeUnit, FloatTime>> data, TimeUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatTimeMatrix from a (sparse) collection of FloatSparseValue objects. -
Uses of TimeUnit in org.djunits.value.vfloat.scalar
Modifier and TypeMethodDescriptionfinal FloatTime
FloatDuration.instantiateAbs
(float value, TimeUnit unit) Construct a new Absolute Immutable FloatScalar of the right type.final FloatTime
FloatTime.instantiateAbs
(float value, TimeUnit unit) Construct a new Absolute Immutable FloatScalar of the right type. -
Uses of TimeUnit in org.djunits.value.vfloat.vector
Modifier and TypeMethodDescriptionFloatDurationVector.instantiateScalarAbsSI
(float valueSI, TimeUnit displayUnit) Instantiate a new absolute scalar for the class of this relative vector.FloatTimeVector.instantiateScalarSI
(float valueSI, TimeUnit displayUnit) Instantiate a new scalar for the class of this vector.FloatTimeVector.instantiateVector
(FloatVectorData fvd, TimeUnit displayUnit) Instantiate a new vector of the class of this vector.FloatDurationVector.instantiateVectorAbs
(FloatVectorData fvd, TimeUnit displayUnit) Instantiate a new absolute vector of the class of this relative vector.ModifierConstructorDescriptionFloatTimeVector
(float[] data, TimeUnit displayUnit) Construct a FloatTimeVector from a float[] object.FloatTimeVector
(float[] data, TimeUnit displayUnit, StorageType storageType) Construct a FloatTimeVector from a float[] object.FloatTimeVector
(List<? extends Number> data, TimeUnit displayUnit) Construct a FloatTimeVector from a list of Number objects or a list of FloatTime objects.FloatTimeVector
(List<? extends Number> data, TimeUnit displayUnit, StorageType storageType) Construct a FloatTimeVector from a list of Number objects or a list of FloatTime objects.FloatTimeVector
(Map<Integer, ? extends Number> data, int size, TimeUnit displayUnit) Construct a FloatTimeVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatTime objects.FloatTimeVector
(Map<Integer, ? extends Number> data, int size, TimeUnit displayUnit, StorageType storageType) Construct a FloatTimeVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatTime objects.FloatTimeVector
(FloatTime[] data, TimeUnit displayUnit) Construct a FloatTimeVector from an array of FloatTime objects.FloatTimeVector
(FloatTime[] data, TimeUnit displayUnit, StorageType storageType) Construct a FloatTimeVector from an array of FloatTime objects.FloatTimeVector
(FloatVectorData data, TimeUnit displayUnit) Construct a FloatTimeVector from an internal data object.