次の方法で共有


DateTimeFormatter.Chronology Property

Definition

Gets the overriding chronology to be used during formatting.

public Java.Time.Chrono.IChronology? Chronology { [Android.Runtime.Register("getChronology", "()Ljava/time/chrono/Chronology;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getChronology", "()Ljava/time/chrono/Chronology;", "", ApiSince=26)>]
member this.Chronology : Java.Time.Chrono.IChronology

Property Value

the override chronology of this formatter, null if no override

Attributes

Remarks

Gets the overriding chronology to be used during formatting.

This returns the override chronology, used to convert dates. By default, a formatter has no override chronology, returning null. See #withChronology(Chronology) for more details on overriding.

Java documentation for java.time.format.DateTimeFormatter.getChronology().

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