MeasureUnit.Product(MeasureUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the product of this unit with another unit.
[Android.Runtime.Register("product", "(Landroid/icu/util/MeasureUnit;)Landroid/icu/util/MeasureUnit;", "GetProduct_Landroid_icu_util_MeasureUnit_Handler", ApiSince=33)]
public virtual Android.Icu.Util.MeasureUnit? Product (Android.Icu.Util.MeasureUnit? other);
[<Android.Runtime.Register("product", "(Landroid/icu/util/MeasureUnit;)Landroid/icu/util/MeasureUnit;", "GetProduct_Landroid_icu_util_MeasureUnit_Handler", ApiSince=33)>]
abstract member Product : Android.Icu.Util.MeasureUnit -> Android.Icu.Util.MeasureUnit
override this.Product : Android.Icu.Util.MeasureUnit -> Android.Icu.Util.MeasureUnit
Parameters
- other
- MeasureUnit
The MeasureUnit to multiply with the target.
Returns
The product of the target unit with the provided unit.
- Attributes
Remarks
Computes the product of this unit with another unit. This is a way to build units from constituent parts.
The numerator and denominator are preserved through this operation.
For example, if the receiver is "kilowatt" and the argument is "hour-per-day", then the unit "kilowatt-hour-per-day" is returned.
NOTE: Only works on SINGLE and COMPOUND units. If either unit (receivee and argument) is a MIXED unit, an error will occur. For more information, Complexity
.
Java documentation for android.icu.util.MeasureUnit.product(android.icu.util.MeasureUnit)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.