View Javadoc
1   /*
2    * Copyright 2009, openv4j.sf.net, and individual contributors as indicated
3    * by the @authors tag. See the copyright.txt in the distribution for a
4    * full listing of individual contributors.
5    *
6    * This is free software; you can redistribute it and/or modify it
7    * under the terms of the GNU General Public License as
8    * published by the Free Software Foundation; either version 3 of
9    * the License, or (at your option) any later version.
10   *
11   * This software is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14   * Lesser General Public License for more details.
15   *
16   * You should have received a copy of the GNU Lesser General Public
17   * License along with this software; if not, write to the Free
18   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
20   *
21   * $Id: $
22   *
23   * @author arnep
24   */
25  package net.sf.openv4j;
26  
27  /**
28   * DOCUMENT ME!
29   *
30   * @author aploese
31   */
32  public class CycleTimeEntry {
33      private int endHour;
34      private int endMin;
35      private int startHour;
36      private int startMin;
37  
38      /**
39       * DOCUMENT ME!
40       *
41       * @return the endHour
42       */
43      public int getEndHour() {
44          return endHour;
45      }
46  
47      /**
48       * DOCUMENT ME!
49       *
50       * @return the endMin
51       */
52      public int getEndMin() {
53          return endMin;
54      }
55  
56      /**
57       * DOCUMENT ME!
58       *
59       * @return the startHour
60       */
61      public int getStartHour() {
62          return startHour;
63      }
64  
65      /**
66       * DOCUMENT ME!
67       *
68       * @return the startMin
69       */
70      public int getStartMin() {
71          return startMin;
72      }
73  
74      /**
75       * DOCUMENT ME!
76       *
77       * @param h DOCUMENT ME!
78       * @param min DOCUMENT ME!
79       */
80      public void setEnd(int h, int min) {
81          endHour = h;
82          endMin = min;
83      }
84  
85      /**
86       * DOCUMENT ME!
87       *
88       * @param h DOCUMENT ME!
89       * @param min DOCUMENT ME!
90       */
91      public void setStart(int h, int min) {
92          startHour = h;
93          startMin = min;
94      }
95  }