]> git.basschouten.com Git - openhab-addons.git/blob
5267c1cf0b1e123f420bfdc1bfbd155765c920a5
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.mybmw.internal.dto.vehicle;
14
15 /**
16  * 
17  * derived from the API responses
18  * 
19  * @author Martin Grassl - initial contribution
20  */
21 public class DepartureTime {
22     private int hour = -1; // 7,
23     private int minute = -1; // 0
24
25     public int getHour() {
26         return hour;
27     }
28
29     public void setHour(int hour) {
30         this.hour = hour;
31     }
32
33     public int getMinute() {
34         return minute;
35     }
36
37     public void setMinute(int minute) {
38         this.minute = minute;
39     }
40
41     @Override
42     public String toString() {
43         return "DepartureTime [hour=" + hour + ", minute=" + minute + "]";
44     }
45 }