DateTimeFormatterBuilder.AppendChronologyText(TextStyle) 方法

定义

将计时名称追加到格式化程序。

[Android.Runtime.Register("appendChronologyText", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendChronologyText(Java.Time.Format.TextStyle? textStyle);
[<Android.Runtime.Register("appendChronologyText", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendChronologyText : Java.Time.Format.TextStyle -> Java.Time.Format.DateTimeFormatterBuilder

参数

textStyle
TextStyle

要使用的文本样式,而不是 null

返回

此操作用于链接,而不是 null

属性

注解

Java文档java.time.format.DateTimeFormatterBuilder.appendChronologyText(java.time.format.TextStyle)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于