Most visited

Recently visited

Added in API level 24

TimeZoneFormat.TimeType

public static final enum TimeZoneFormat.TimeType
extends Enum<TimeZoneFormat.TimeType>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.TimeZoneFormat.TimeType>
     ↳ android.icu.text.TimeZoneFormat.TimeType


用于在 TimeZoneFormat API中接收时间类型(标准时间,日光时间或未知)的时间类型枚举。

Summary

Enum values

TimeZoneFormat.TimeType  DAYLIGHT

夏令时

TimeZoneFormat.TimeType  STANDARD

标准时间

TimeZoneFormat.TimeType  UNKNOWN

未知

Public methods

static TimeZoneFormat.TimeType valueOf(String name)
static final TimeType[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

DAYLIGHT

Added in API level 24
TimeZoneFormat.TimeType DAYLIGHT

夏令时

STANDARD

Added in API level 24
TimeZoneFormat.TimeType STANDARD

标准时间

UNKNOWN

Added in API level 24
TimeZoneFormat.TimeType UNKNOWN

未知

Public methods

valueOf

Added in API level 24
TimeZoneFormat.TimeType valueOf (String name)

Parameters
name String
Returns
TimeZoneFormat.TimeType

values

Added in API level 24
TimeType[] values ()

Returns
TimeType[]

Hooray!