TimeZoneFormat.FormatOffsetShortLocalizedGMT(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回给定偏移量的短本地化 GMT(UTC) 偏移格式。
[Android.Runtime.Register("formatOffsetShortLocalizedGMT", "(I)Ljava/lang/String;", "GetFormatOffsetShortLocalizedGMT_IHandler", ApiSince=24)]
public virtual string? FormatOffsetShortLocalizedGMT(int offset);
[<Android.Runtime.Register("formatOffsetShortLocalizedGMT", "(I)Ljava/lang/String;", "GetFormatOffsetShortLocalizedGMT_IHandler", ApiSince=24)>]
abstract member FormatOffsetShortLocalizedGMT : int -> string
override this.FormatOffsetShortLocalizedGMT : int -> string
参数
- offset
- Int32
与 GMT(UTC)的偏移量(以毫秒为单位)。
返回
短本地化 GMT 格式字符串
- 特性
注解
返回给定偏移量的短本地化 GMT(UTC) 偏移格式。 定义短的本地化 GMT 偏移量;<ul><li>GMT 格式模式(例如“GMT{0}”- #getGMTPattern()see) <li>偏移时间模式 (例如“+HH:mm” - #getGMTOffsetPattern(GMTOffsetPatternType)see) <li Offset digits (例如“0123456789” - see)>#getGMTOffsetDigits() li<GMT 零格式 (例如“GMT” - see>#getGMTZeroFormat()) </ul> 此格式使用偏移量最短表示形式。 小时字段没有前导零,将截断带零的下级字段。 例如,GMT+5 和 GMT+530。
Java文档android.icu.text.TimeZoneFormat.formatOffsetShortLocalizedGMT(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。