Class FractionalCombination
java.lang.Object
com.polarion.core.util.types.duration.FractionalCombination
- All Implemented Interfaces:
Serializable,Cloneable
Deprecated.
- Author:
- Jiri Banszel, Polarion Software
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(FractionalCombination combination) Deprecated.clone()Deprecated.getCoefficient(String unit) Deprecated.Fraction[]Deprecated.Deprecated.static MapDeprecated.static booleanDeprecated.Checks whether given string is a valid duration description.booleanisZero()Deprecated.parseDuration(String duration) Deprecated.voidsetCoefficient(String unit, Fraction coeff) Deprecated.voidsetCoefficients(Fraction[] coefficients) Deprecated.voidsetCoefficientsMap(Map coeffs) Deprecated.toString()Deprecated.
-
Constructor Details
-
FractionalCombination
Deprecated.- Parameters:
units- ordered
-
-
Method Details
-
getCoefficient
Deprecated. -
setCoefficients
Deprecated. -
setCoefficient
Deprecated. -
getCoefficients
Deprecated. -
getCoefficientsMap
Deprecated. -
setCoefficientsMap
Deprecated. -
add
Deprecated. -
isZero
public boolean isZero()Deprecated. -
toString
Deprecated. -
getMap
Deprecated. -
parseDuration
Deprecated.- Parameters:
duration-- Returns:
- instance of FractionalCombination that represents given string.
-
isValid
Deprecated.Checks whether given string is a valid duration description.- Parameters:
duration-units-- Returns:
trueif it is valid
-
clone
Deprecated.- Since:
- 3.3.2
-