public static class Parameter.TimeZoneValue extends java.lang.Object implements InfoResponse.Value, InfoRequest.Value
Parameter.Key.TIMEZONE.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
timezone
This field will be parsed as value for
TIMEZONE key. |
| Constructor and Description |
|---|
TimeZoneValue(java.lang.String timezone)
A constructor of this
Value using the provided time zone. |
TimeZoneValue(java.time.ZoneId zoneId)
A constructor of this
Value using the provided ZoneId. |
@SerializedName(value="timezone") public java.lang.String timezone
TIMEZONE key.public TimeZoneValue(java.lang.String timezone)
Value using the provided time zone.timezone - A string denoting time zone for key Parameter.Key.TIMEZONE.public TimeZoneValue(java.time.ZoneId zoneId)
Value using the provided ZoneId.zoneId - ZoneId from Java's time package.