@Generated(value="software.amazon.awssdk:codegen") public final class TimeZone extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeZone.Builder,TimeZone>
Information about a time zone. Includes the name of the time zone and the offset from UTC in seconds.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeZone.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeZone.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the time zone, following the IANA time zone standard.
|
Integer |
offset()
The time zone's offset, in seconds, from UTC.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeZone.Builder> |
serializableBuilderClass() |
TimeZone.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the time zone, following the IANA time zone standard.
For example, America/Los_Angeles.
America/Los_Angeles.public final Integer offset()
The time zone's offset, in seconds, from UTC.
public TimeZone.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeZone.Builder,TimeZone>public static TimeZone.Builder builder()
public static Class<? extends TimeZone.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.