]> git.basschouten.com Git - openhab-addons.git/blob
e205464800fe862c6277c96179ecd6419f1fba74
[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.airvisualnode.internal.dto;
14
15 /**
16  * Date and time / timestamp data.
17  *
18  * @author Victor Antonovich - Initial contribution
19  */
20 public class DateAndTime {
21
22     private String date;
23     private String time;
24     private String timestamp;
25
26     public DateAndTime(String date, String time, String timestamp) {
27         this.date = date;
28         this.time = time;
29         this.timestamp = timestamp;
30     }
31
32     public String getDate() {
33         return date;
34     }
35
36     public void setDate(String date) {
37         this.date = date;
38     }
39
40     public String getTime() {
41         return time;
42     }
43
44     public void setTime(String time) {
45         this.time = time;
46     }
47
48     public String getTimestamp() {
49         return timestamp;
50     }
51
52     public void setTimestamp(String timestamp) {
53         this.timestamp = timestamp;
54     }
55 }