amount, PARSE_PATTERN, PARSED_AMOUNT_NAME, PARSED_UNIT_NAME, size| Constructor and Description | 
|---|
TimeMeasurement(double amount,
               TimeSize measure)
Creates a measurement with a given amount and size 
 | 
TimeMeasurement(RationalNumber amount,
               TimeSize measure)
Creates a measurement with a given amount and size 
 | 
TimeMeasurement(TimeMeasurement measure)
Creates a duplicate copy of the measurement 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TimeMeasurement | 
parseMeasure(java.lang.String text)
Parses the text to the given type of measure 
 | 
add, compareTo, convertSize, convertToBaseSize, convertToBestSize, convertToBestSize, divideBy, divideBy, divideBy, equals, getAmount, getAmountAs, getAmountInBaseSize, getGoodDenominator, getSize, getSizeString, greaterThan, greaterThanOrEqualTo, hashCode, lessThan, lessThanOrEqualTo, listSizes, minus, multiply, multiply, parseGeneric, plus, roundToNearestFraction, roundToNearestFractionInSize, subtract, times, times, toExpandedDecimalString, toExpandedString, toExpandedString, toExpandedString, toExpandedString, toExpandedString, toExpandedString, toExpandedString, toString, toStringWithWholePart, valueOfpublic TimeMeasurement(double amount,
                       TimeSize measure)
amount - The amount of the measurementmeasure - The unit of measurepublic TimeMeasurement(RationalNumber amount, TimeSize measure)
amount - The amount of the measurementmeasure - The unit of measurepublic TimeMeasurement(@NotNull TimeMeasurement measure)
measure - The measurement to copy@Nullable public static TimeMeasurement parseMeasure(@NotNull java.lang.String text) throws java.text.ParseException
text - The text to parsejava.text.ParseException - If the measurement couldn't be parsed