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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(FractionalCombination combination) Deprecated.clone()
Deprecated.getCoefficient
(String unit) Deprecated.Fraction[]
Deprecated.Deprecated.static Map
Deprecated.static boolean
Deprecated.Checks whether given string is a valid duration description.boolean
isZero()
Deprecated.parseDuration
(String duration) Deprecated.void
setCoefficient
(String unit, Fraction coeff) Deprecated.void
setCoefficients
(Fraction[] coefficients) Deprecated.void
setCoefficientsMap
(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:
true
if it is valid
-
clone
Deprecated.- Since:
- 3.3.2
-