Uses of Class
org.djunits.quantity.Duration
Packages that use Duration
Package
Description
The quantity package stores information about quantities with their units.
-
Uses of Duration in org.djunits.quantity
Fields in org.djunits.quantity declared as DurationModifier and TypeFieldDescriptionstatic final DurationDuration.NaNConstant with value NaN.static final DurationDuration.NEG_MAXVALUEConstant with value -MAX_VALUE.static final DurationDuration.NEGATIVE_INFINITYConstant with value NEGATIVE_INFINITY.static final DurationDuration.ONEConstant with value one.static final DurationDuration.POS_MAXVALUEConstant with value MAX_VALUE.static final DurationDuration.POSITIVE_INFINITYConstant with value POSITIVE_INFINITY.static final DurationDuration.ZEROConstant with value zero.Methods in org.djunits.quantity that return DurationModifier and TypeMethodDescriptionAmountOfSubstance.divide(CatalyticActivity v) Calculate the division of AmountOfSubstance and CatalyticActivity, which results in a Duration scalar.Angle.divide(AngularVelocity v) Calculate the division of Angle and AngularVelocity, which results in a Duration scalar.Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.ElectricalCapacitance.divide(ElectricalConductance v) Calculate the division of ElectricalCapacitance and ElectricalConductance, which results in a Duration scalar.ElectricCharge.divide(ElectricCurrent v) Calculate the division of ElectricCharge and ElectricCurrent, which results in a Duration scalar.Calculate the division of Energy and Power, which results in a Duration scalar.Calculate the division of Length and Speed, which results in a Duration quantity.MagneticFlux.divide(ElectricPotential v) Calculate the division of MagneticFlux and ElectricPotential, which results in a Duration scalar.Calculate the division of Mass and FlowMass, which results in a Duration scalar.Speed.divide(Acceleration v) Calculate the division of Speed and Acceleration, which results in a Duration scalar.Calculate the division of Torque and Power, which results in a Duration scalar.Volume.divide(FlowVolume v) Calculate the division of Volume and FlowVolume, which results in a Duration scalar.Duration.instantiateSi(double siValue, UnitInterface<Duration> displayUnit) static DurationReturns a Duration based on a value and the textual representation of the unit, which can be localized.static DurationDuration.of(double valueInUnit, Duration.Unit unit) Returns a Duration based on a value expressed in the unit.static DurationDuration.ofSi(double si) Return a Duration instance based on an SI value.static DurationDuration.ofSi(double siValue, Duration.Unit displayUnit) Instantiate a Duration quantity with an SI or base value and a display unit.Duration.Unit.ofSi(double si, UnitInterface<Duration> displayUnit) Frequency.reciprocal()static DurationReturns a Duration representation of a textual representation of a value with a unit.Methods in org.djunits.quantity with parameters of type DurationModifier and TypeMethodDescriptionstatic voidTime.Reference.add(String id, String name, Duration offset, Time.Reference offsetReference) Define a new reference point for the time, with an offset value to another reference.Calculate the division of AmountOfSubstance and Duration, which results in a CatalyticActivity scalar.Calculate the division of Angle and Duration, which results in a AngularVelocity scalar.Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.Calculate the division of Duration and Duration, which results in a Dimensionless quantity.Calculate the division of ElectricalCapacitance and Duration, which results in a ElectricalConductance scalar.Calculate the division of ElectricCharge and Duration, which results in a ElectricCurrent scalar.Calculate the division of Energy and Duration, which results in a Power scalar.Calculate the division of Length and Duration, which results in a Speed quantity.Calculate the division of MagneticFlux and Duration, which results in a ElectricPotential scalar.Calculate the division of Mass and Duration, which results in a FlowMass scalar.Calculate the division of Speed and Duration, which results in a Acceleration scalar.Calculate the division of Torque and Duration, which results in a Power scalar.Calculate the division of Volume and Duration, which results in a FlowVolume scalar.Time.instantiate(Duration duration, Time.Reference reference) Time.Reference.instantiate(Duration duration) Calculate the multiplication of Acceleration and Duration, which results in a Speed scalar.Calculate the multiplication of AngularAcceleration and Duration, which results in a AngularVelocity scalar.Calculate the multiplication of CatalyticActivity and Duration, which results in a AmountOfSubstance scalar.Calculate the multiplication of ElectricalConductance and Duration, which results in a ElectricalCapacitance scalar.Calculate the multiplication of ElectricalResistance and Duration, which results in a ElectricalInductance scalar.Calculate the multiplication of ElectricalCurrent and Duration, which results in a ElectricalCharge scalar.Calculate the multiplication of FlowMass and Duration, which results in a Mass scalar.Calculate the multiplication of FlowVolume and Duration, which results in a Volume scalar.Calculate the multiplication of Frequency and Duration, which results in a Dimensionless scalar.Calculate the multiplication of Power and Duration, which results in a Energy scalar.Calculate the multiplication of Speed and Duration, which results in a Length scalar.Method parameters in org.djunits.quantity with type arguments of type DurationModifier and TypeMethodDescriptionDuration.instantiateSi(double siValue, UnitInterface<Duration> displayUnit) Duration.Unit.ofSi(double si, UnitInterface<Duration> displayUnit) Constructors in org.djunits.quantity with parameters of type DurationModifierConstructorDescriptionReference(String id, String name, Duration offset, Time.Reference offsetReference) Define a new reference point for the time, with an offset value to another reference.Time(Duration duration, Time.Reference reference) Instantiate a Time instance based on an duration and a reference point.