]> git.basschouten.com Git - openhab-addons.git/blob
f5515cbf43b53f0c20e50ec0c9eee7fde1fa0a43
[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 ChargingWindow} Data Transfer Object
17  *
18  * @author Bernd Weymann - Initial contribution
19  * @author Martin Grassl - refactored to Java Bean
20  */
21 public class ChargingWindow {
22     private Time start = new Time();
23     private Time end = new Time();
24
25     public Time getStart() {
26         return start;
27     }
28
29     public void setStart(Time start) {
30         this.start = start;
31     }
32
33     public Time getEnd() {
34         return end;
35     }
36
37     public void setEnd(Time end) {
38         this.end = end;
39     }
40
41     @Override
42     public String toString() {
43         return "ChargingWindow [start=" + start + ", end=" + end + "]";
44     }
45 }