1 30 33 package com.nightlabs.util.timepattern; 34 35 38 public class TimePatternImpl extends TimePattern { 39 40 43 public TimePatternImpl(TimePatternSet _timePatternSet) { 44 super(_timePatternSet); 45 } 46 47 57 public TimePatternImpl(TimePatternSet _timePatternSet, String _year, 58 String _month, String _day, String _dayOfWeek, String _hour, 59 String _minute) throws TimePatternFormatException { 60 super(_timePatternSet, _year, _month, _day, _dayOfWeek, _hour, _minute); 61 } 62 63 protected String year; 64 65 68 public String getYear() { 69 return year; 70 } 71 72 75 protected void _setYear(String _year) { 76 this.year = _year; 77 } 78 79 protected String month; 80 81 84 public String getMonth() { 85 return month; 86 } 87 88 91 protected void _setMonth(String _month) { 92 this.month = _month; 93 } 94 95 protected String day; 96 97 100 public String getDay() { 101 return day; 102 } 103 104 107 protected void _setDay(String _day) { 108 this.day = _day; 109 } 110 111 112 protected String dayOfWeek; 113 114 117 public String getDayOfWeek() { 118 return dayOfWeek; 119 } 120 121 124 protected void _setDayOfWeek(String _dayOfWeek) { 125 this.dayOfWeek = _dayOfWeek; 126 } 127 128 129 protected String hour; 130 131 134 public String getHour() { 135 return hour; 136 } 137 138 141 protected void _setHour(String _hour) { 142 this.hour = _hour; 143 } 144 145 146 protected String minute; 147 148 151 public String getMinute() { 152 return minute; 153 } 154 155 158 protected void _setMinute(String _minute) { 159 this.minute = _minute; 160 } 161 162 private TimePatternSet timePatternSet; 163 164 167 public TimePatternSet getTimePatternSet() { 168 return timePatternSet; 169 } 170 171 174 protected void setTimePatternSet(TimePatternSet set) { 175 this.timePatternSet = set; 176 } 177 } 178 | Popular Tags |