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
返回
实现
- 属性