]> git.basschouten.com Git - openhab-addons.git/blob
40c48be392d1bc866912ef4d8f0a6d523e0adc43
[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.charge;
14
15 /**
16  * The {@link Time} Data Transfer Object
17  *
18  * @author Bernd Weymann - Initial contribution
19  * @author Norbert Truchsess - edit and send of charge profile
20  * @author Martin Grassl - refactored to Java Bean
21  */
22 public class Time {
23     private int hour = -1;// ": 11,
24     private int minute = -1;// ": 0
25
26     public int getHour() {
27         return hour;
28     }
29
30     public void setHour(int hour) {
31         this.hour = hour;
32     }
33
34     public int getMinute() {
35         return minute;
36     }
37
38     public void setMinute(int minute) {
39         this.minute = minute;
40     }
41
42     @Override
43     public String toString() {
44         return "Time [hour=" + hour + ", minute=" + minute + "]";
45     }
46 }