DateTimeFormatterBuilder.AppendZoneText 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AppendZoneText(TextStyle) |
将时区名称(如“英国夏令时”)追加到格式化程序。 |
AppendZoneText(TextStyle, ICollection<ZoneId>) |
AppendZoneText(TextStyle)
将时区名称(如“英国夏令时”)追加到格式化程序。
[Android.Runtime.Register("appendZoneText", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendZoneText (Java.Time.Format.TextStyle? textStyle);
[<Android.Runtime.Register("appendZoneText", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendZoneText : Java.Time.Format.TextStyle -> Java.Time.Format.DateTimeFormatterBuilder
参数
- textStyle
- TextStyle
要使用的文本样式,而不是 null
返回
此操作用于链接,而不是 null
- 属性
注解
适用于 . 的 java.time.format.DateTimeFormatterBuilder.appendZoneText(java.time.format.TextStyle)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
AppendZoneText(TextStyle, ICollection<ZoneId>)
[Android.Runtime.Register("appendZoneText", "(Ljava/time/format/TextStyle;Ljava/util/Set;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendZoneText (Java.Time.Format.TextStyle? textStyle, System.Collections.Generic.ICollection<Java.Time.ZoneId>? preferredZones);
[<Android.Runtime.Register("appendZoneText", "(Ljava/time/format/TextStyle;Ljava/util/Set;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendZoneText : Java.Time.Format.TextStyle * System.Collections.Generic.ICollection<Java.Time.ZoneId> -> Java.Time.Format.DateTimeFormatterBuilder
参数
- textStyle
- TextStyle
- preferredZones
- ICollection<ZoneId>
返回
- 属性