UniversalTimeScale.BigDecimalFrom 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.
Overloads
BigDecimalFrom(BigDecimal, UniversalTimeScaleType) |
Convert a |
BigDecimalFrom(Double, UniversalTimeScaleType) |
Convert a |
BigDecimalFrom(Int64, UniversalTimeScaleType) |
Convert a |
BigDecimalFrom(BigDecimal, UniversalTimeScaleType)
Convert a BigDecimal
datetime from the given time scale to the universal time scale.
[Android.Runtime.Register("bigDecimalFrom", "(Landroid/icu/math/BigDecimal;I)Landroid/icu/math/BigDecimal;", "", ApiSince=26)]
public static Android.Icu.Math.BigDecimal? BigDecimalFrom (Android.Icu.Math.BigDecimal? otherTime, Android.Icu.Util.UniversalTimeScaleType timeScale);
[<Android.Runtime.Register("bigDecimalFrom", "(Landroid/icu/math/BigDecimal;I)Landroid/icu/math/BigDecimal;", "", ApiSince=26)>]
static member BigDecimalFrom : Android.Icu.Math.BigDecimal * Android.Icu.Util.UniversalTimeScaleType -> Android.Icu.Math.BigDecimal
Parameters
- otherTime
- BigDecimal
The BigDecimal
datetime
- timeScale
- UniversalTimeScaleType
The time scale to convert from
Returns
The datetime converted to the universal time scale
- Attributes
Remarks
Convert a BigDecimal
datetime from the given time scale to the universal time scale. All calculations are done using BigDecimal
to guarantee that the value does not go out of range.
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.
Applies to
BigDecimalFrom(Double, UniversalTimeScaleType)
Convert a double
datetime from the given time scale to the universal time scale.
[Android.Runtime.Register("bigDecimalFrom", "(DI)Landroid/icu/math/BigDecimal;", "", ApiSince=26)]
public static Android.Icu.Math.BigDecimal? BigDecimalFrom (double otherTime, Android.Icu.Util.UniversalTimeScaleType timeScale);
[<Android.Runtime.Register("bigDecimalFrom", "(DI)Landroid/icu/math/BigDecimal;", "", ApiSince=26)>]
static member BigDecimalFrom : double * Android.Icu.Util.UniversalTimeScaleType -> Android.Icu.Math.BigDecimal
Parameters
- otherTime
- Double
The double
datetime
- timeScale
- UniversalTimeScaleType
The time scale to convert from
Returns
The datetime converted to the universal time scale
- Attributes
Remarks
Convert a double
datetime from the given time scale to the universal time scale. All calculations are done using BigDecimal
to guarantee that the value does not go out of range.
Java documentation for android.icu.util.UniversalTimeScale.bigDecimalFrom(double, int)
.
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.
Applies to
BigDecimalFrom(Int64, UniversalTimeScaleType)
Convert a long
datetime from the given time scale to the universal time scale.
[Android.Runtime.Register("bigDecimalFrom", "(JI)Landroid/icu/math/BigDecimal;", "", ApiSince=26)]
public static Android.Icu.Math.BigDecimal? BigDecimalFrom (long otherTime, Android.Icu.Util.UniversalTimeScaleType timeScale);
[<Android.Runtime.Register("bigDecimalFrom", "(JI)Landroid/icu/math/BigDecimal;", "", ApiSince=26)>]
static member BigDecimalFrom : int64 * Android.Icu.Util.UniversalTimeScaleType -> Android.Icu.Math.BigDecimal
Parameters
- otherTime
- Int64
The long
datetime
- timeScale
- UniversalTimeScaleType
The time scale to convert from
Returns
The datetime converted to the universal time scale
- Attributes
Remarks
Convert a long
datetime from the given time scale to the universal time scale. All calculations are done using BigDecimal
to guarantee that the value does not go out of range.
Java documentation for android.icu.util.UniversalTimeScale.bigDecimalFrom(long, int)
.
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.