Share via


Calendar.ComputeZoneOffset(Int64, Int32) Method

Definition

This method can assume EXTENDED_YEAR has been set.

[Android.Runtime.Register("computeZoneOffset", "(JI)I", "GetComputeZoneOffset_JIHandler", ApiSince=24)]
protected virtual int ComputeZoneOffset (long millis, int millisInDay);
[<Android.Runtime.Register("computeZoneOffset", "(JI)I", "GetComputeZoneOffset_JIHandler", ApiSince=24)>]
abstract member ComputeZoneOffset : int64 * int -> int
override this.ComputeZoneOffset : int64 * int -> int

Parameters

millis
Int64

milliseconds of the date fields (local midnight millis)

millisInDay
Int32

milliseconds of the time fields; may be out or range.

Returns

total zone offset (raw + DST) for the given moment

Attributes

Remarks

This method can assume EXTENDED_YEAR has been set.

This member is deprecated. ICU 60

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