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.tankerkoenig.internal.dto;
16 * The {@link OpeningTime} class is representing single Opening Time entry from the api request (i.e one setting like
17 * "Montag" "09:00" "18:00")
19 * @author Jürgen Baginski - Initial contribution
21 public class OpeningTime {
27 public String getText() {
31 public void setText(String text) {
35 public String getStart() {
39 public void setStart(String start) {
43 public String getEnd() {
47 public void setEnd(String end) {
52 public String toString() {
53 StringBuilder sb = new StringBuilder();
54 sb.append(" ").append(this.getText()).append(" Open: ").append(this.getStart()).append(" Close: ")
55 .append(this.getEnd());