UniversalTimeScale.From(Int64, UniversalTimeScaleType) Method

Definition

Convert a long datetime from the given time scale to the universal time scale.

[Android.Runtime.Register("from", "(JI)J", "", ApiSince=26)]
public static long From (long otherTime, Android.Icu.Util.UniversalTimeScaleType timeScale);
[<Android.Runtime.Register("from", "(JI)J", "", ApiSince=26)>]
static member From : int64 * Android.Icu.Util.UniversalTimeScaleType -> int64

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.

Java documentation for android.icu.util.UniversalTimeScale.from(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.

Applies to