Year.GetLong(ITemporalField) 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.
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.