Uses of Enum
de.xima.fc.common.bean_models.ETimeUnit
Packages that use ETimeUnit
-
Uses of ETimeUnit in de.xima.fc.common.bean_models
Methods in de.xima.fc.common.bean_models that return ETimeUnitModifier and TypeMethodDescriptionTimeDuration.getUnit()
Gets the unit of time for the duration.static ETimeUnit
Returns the enum constant of this type with the specified name.static ETimeUnit[]
ETimeUnit.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.xima.fc.common.bean_models with parameters of type ETimeUnitModifier and TypeMethodDescriptionETimeUnit.convertToBigDecimal
(long duration, ETimeUnit targetUnit, MathContext mathContext) Converts the given duration to the given unit.ETimeUnit.convertToBigInt
(long duration, ETimeUnit targetUnit) Converts the given duration to the given unit.double
ETimeUnit.convertToDouble
(long duration, ETimeUnit targetUnit) Converts the given duration to the given unit.long
ETimeUnit.convertToLong
(long duration, ETimeUnit targetUnit) Converts the given duration to the given unit.static TimeDuration
Creates a new instance ofTimeDuration
with the given duration and unit of time.static TimeDuration
Creates a new instance ofTimeDuration
with no duration and the given unit of time.void
Sets the unit of time for the duration.long
Converts the duration to the given unit of time.