]> git.basschouten.com Git - openhab-addons.git/blob
8e2525bb1db78d21d69723fc61e7ac1fa17f6894
[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.robonect.internal.model;
14
15 /**
16  * This object will be part of the status response and holds the next timer execution information.
17  * 
18  * @author Marco Meyer - Initial contribution
19  */
20 public class NextTimer {
21
22     private String date;
23     private String time;
24     private String unix;
25
26     /**
27      * @return - The date (dd.MM.yy) of the next timer execution.
28      */
29     public String getDate() {
30         return date;
31     }
32
33     /**
34      * @return - the timestamp (HH:mm:ss) of the next timer execution
35      */
36     public String getTime() {
37         return time;
38     }
39
40     /**
41      * @return - the next timer execution in the form of a unix timestamp.
42      */
43     public String getUnix() {
44         return unix;
45     }
46
47     public void setDate(String date) {
48         this.date = date;
49     }
50
51     public void setTime(String time) {
52         this.time = time;
53     }
54
55     public void setUnix(String unix) {
56         this.unix = unix;
57     }
58 }