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 |
Time type enum used for receiving time type (standard time, daylight time or unknown)
in TimeZoneFormat
APIs.
Summary
Enum values | |
---|---|
TimeZoneFormat.TimeType |
DAYLIGHT
Daylight saving time |
TimeZoneFormat.TimeType |
STANDARD
Standard time |
TimeZoneFormat.TimeType |
UNKNOWN
Unknown |
Public methods | |
---|---|
static
TimeZoneFormat.TimeType
|
valueOf(String name)
|
static
final
TimeType[]
|
values()
|
Inherited methods | |
---|---|
Enum values
DAYLIGHT
Added in API level 24
public static final TimeZoneFormat.TimeType DAYLIGHT
Daylight saving time
Public methods
valueOf
public static TimeZoneFormat.TimeType valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
TimeZoneFormat.TimeType |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-07-18 UTC.
[null,null,["Last updated 2024-07-18 UTC."],[],[]]