다음을 통해 공유


TimeZone.GetOffset Method

Definition

Overloads

GetOffset(Int64)
GetOffset(Int32, Int32, Int32, Int32, Int32, Int32)
GetOffset(Int64, Boolean, Int32[])

GetOffset(Int64)

[Android.Runtime.Register("getOffset", "(J)I", "GetGetOffset_JHandler", ApiSince=24)]
public virtual int GetOffset (long date);
[<Android.Runtime.Register("getOffset", "(J)I", "GetGetOffset_JHandler", ApiSince=24)>]
abstract member GetOffset : int64 -> int
override this.GetOffset : int64 -> int

Parameters

date
Int64

Returns

Attributes

Remarks

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

GetOffset(Int32, Int32, Int32, Int32, Int32, Int32)

[Android.Runtime.Register("getOffset", "(IIIIII)I", "GetGetOffset_IIIIIIHandler", ApiSince=24)]
public abstract int GetOffset (int era, int year, int month, int day, int dayOfWeek, int milliseconds);
[<Android.Runtime.Register("getOffset", "(IIIIII)I", "GetGetOffset_IIIIIIHandler", ApiSince=24)>]
abstract member GetOffset : int * int * int * int * int * int -> int

Parameters

era
Int32
year
Int32
month
Int32
day
Int32
dayOfWeek
Int32
milliseconds
Int32

Returns

Attributes

Remarks

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

GetOffset(Int64, Boolean, Int32[])

[Android.Runtime.Register("getOffset", "(JZ[I)V", "GetGetOffset_JZarrayIHandler", ApiSince=24)]
public virtual void GetOffset (long date, bool local, int[]? offsets);
[<Android.Runtime.Register("getOffset", "(JZ[I)V", "GetGetOffset_JZarrayIHandler", ApiSince=24)>]
abstract member GetOffset : int64 * bool * int[] -> unit
override this.GetOffset : int64 * bool * int[] -> unit

Parameters

date
Int64
local
Boolean
offsets
Int32[]
Attributes

Remarks

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