AbstractChronology.Date Method

Definition

Overloads

Date(ITemporalAccessor)

Obtains a local date in this chronology from another temporal object.

Date(Int32, Int32, Int32)

Obtains a local date in this chronology from the proleptic-year, month-of-year and day-of-month fields.

Date(ITemporalAccessor)

Obtains a local date in this chronology from another temporal object.

[Android.Runtime.Register("date", "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/chrono/ChronoLocalDate;", "GetDate_Ljava_time_temporal_TemporalAccessor_Handler", ApiSince=26)]
public abstract Java.Time.Chrono.IChronoLocalDate? Date (Java.Time.Temporal.ITemporalAccessor? temporal);
[<Android.Runtime.Register("date", "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/chrono/ChronoLocalDate;", "GetDate_Ljava_time_temporal_TemporalAccessor_Handler", ApiSince=26)>]
abstract member Date : Java.Time.Temporal.ITemporalAccessor -> Java.Time.Chrono.IChronoLocalDate

Parameters

temporal
ITemporalAccessor

the temporal object to convert, not null

Returns

the local date in this chronology, not null

Implements

Attributes

Remarks

Obtains a local date in this chronology from another temporal object.

This obtains a date in this chronology based on the specified temporal. A TemporalAccessor represents an arbitrary set of date and time information, which this factory converts to an instance of ChronoLocalDate.

The conversion typically uses the ChronoField#EPOCH_DAY EPOCH_DAY field, which is standardized across calendar systems.

This method matches the signature of the functional interface TemporalQuery allowing it to be used as a query via method reference, aChronology::date.

Java documentation for java.time.chrono.Chronology.date(java.time.temporal.TemporalAccessor).

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

Date(Int32, Int32, Int32)

Obtains a local date in this chronology from the proleptic-year, month-of-year and day-of-month fields.

[Android.Runtime.Register("date", "(III)Ljava/time/chrono/ChronoLocalDate;", "GetDate_IIIHandler", ApiSince=26)]
public abstract Java.Time.Chrono.IChronoLocalDate? Date (int prolepticYear, int month, int dayOfMonth);
[<Android.Runtime.Register("date", "(III)Ljava/time/chrono/ChronoLocalDate;", "GetDate_IIIHandler", ApiSince=26)>]
abstract member Date : int * int * int -> Java.Time.Chrono.IChronoLocalDate

Parameters

prolepticYear
Int32

the chronology proleptic-year

month
Int32

the chronology month-of-year

dayOfMonth
Int32

the chronology day-of-month

Returns

the local date in this chronology, not null

Implements

Attributes

Remarks

Obtains a local date in this chronology from the proleptic-year, month-of-year and day-of-month fields.

Java documentation for java.time.chrono.Chronology.date(int, int, 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