Year.GetLong(ITemporalField) Method

Definition

Gets the value of the specified field from this year as a long.

[Android.Runtime.Register("getLong", "(Ljava/time/temporal/TemporalField;)J", "", ApiSince=26)]
public long GetLong(Java.Time.Temporal.ITemporalField? field);
[<Android.Runtime.Register("getLong", "(Ljava/time/temporal/TemporalField;)J", "", ApiSince=26)>]
abstract member GetLong : Java.Time.Temporal.ITemporalField -> int64
override this.GetLong : Java.Time.Temporal.ITemporalField -> int64

Parameters

field
ITemporalField

the field to get, not null

Returns

the value for the field

Implements

Attributes

Remarks

To be added.

Java reference for java.time.Year.getLong.

Applies to