@@ -379,7 +379,7 @@ private void setSolar(int year, final int month, int day, int h, int m, int s) {
379379 wv_day .setGravity (gravity );
380380 //时
381381 wv_hours = (WheelView ) view .findViewById (R .id .hour );
382- if (year < endYear || month + 1 < endMonth || day < endDay || h < endHour ) {
382+ if (year < endYear || month + 1 < endMonth || day < endDay ) {
383383 wv_hours .setAdapter (new NumericWheelAdapter (0 , DEFAULT_END_HOUR ));
384384 } else {
385385 wv_hours .setAdapter (new NumericWheelAdapter (0 , endHour ));
@@ -389,7 +389,7 @@ private void setSolar(int year, final int month, int day, int h, int m, int s) {
389389 wv_hours .setGravity (gravity );
390390 //分
391391 wv_minutes = (WheelView ) view .findViewById (R .id .min );
392- if (year < endYear || month + 1 < endMonth || day < endDay || h < endHour || m < endMinute ) {
392+ if (year < endYear || month + 1 < endMonth || day < endDay || h < endHour ) {
393393 wv_minutes .setAdapter (new NumericWheelAdapter (0 , DEFAULT_END_SECOND ));
394394 } else {
395395 wv_minutes .setAdapter (new NumericWheelAdapter (0 , endMinute ));
@@ -399,7 +399,7 @@ private void setSolar(int year, final int month, int day, int h, int m, int s) {
399399 wv_minutes .setGravity (gravity );
400400 //秒
401401 wv_seconds = (WheelView ) view .findViewById (R .id .second );
402- if (year < endYear || month + 1 < endMonth || day < endDay || h < endHour || m < endMinute || s < endSecond ) {
402+ if (year < endYear || month + 1 < endMonth || day < endDay || h < endHour || m < endMinute ) {
403403 wv_seconds .setAdapter (new NumericWheelAdapter (0 , DEFAULT_END_SECOND ));
404404 } else {
405405 wv_seconds .setAdapter (new NumericWheelAdapter (0 , endSecond ));
0 commit comments