2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.icloud.internal.handler.dto.json.response;
16 * Serializable class to parse json response received from the Apple server.
18 * @author Patrik Gfeller - Initial Contribution
21 public class ICloudServerContextTimezone {
22 private int currentOffset;
24 private int previousOffset;
26 private long previousTransition;
28 private String tzCurrentName;
30 private String tzName;
32 public int getCurrentOffset() {
33 return this.currentOffset;
36 public int getPreviousOffset() {
37 return this.previousOffset;
40 public long getPreviousTransition() {
41 return this.previousTransition;
44 public String getTzCurrentName() {
45 return this.tzCurrentName;
48 public String getTzName() {