LocalDateTime.IsSupported 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
IsSupported(ITemporalUnit) | |
IsSupported(ITemporalField) |
IsSupported(ITemporalUnit)
[Android.Runtime.Register("isSupported", "(Ljava/time/temporal/TemporalUnit;)Z", "", ApiSince=26)]
public bool IsSupported (Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("isSupported", "(Ljava/time/temporal/TemporalUnit;)Z", "", ApiSince=26)>]
abstract member IsSupported : Java.Time.Temporal.ITemporalUnit -> bool
override this.IsSupported : Java.Time.Temporal.ITemporalUnit -> bool
參數
- unit
- ITemporalUnit
傳回
實作
- 屬性
適用於
IsSupported(ITemporalField)
[Android.Runtime.Register("isSupported", "(Ljava/time/temporal/TemporalField;)Z", "", ApiSince=26)]
public bool IsSupported (Java.Time.Temporal.ITemporalField? field);
[<Android.Runtime.Register("isSupported", "(Ljava/time/temporal/TemporalField;)Z", "", ApiSince=26)>]
abstract member IsSupported : Java.Time.Temporal.ITemporalField -> bool
override this.IsSupported : Java.Time.Temporal.ITemporalField -> bool
參數
- field
- ITemporalField
傳回
實作
- 屬性