()
| 31 | } |
| 32 | |
| 33 | sub () { |
| 34 | let value = this.state.value, |
| 35 | max = this.props.type === 'hour' ? 23 : 59; |
| 36 | value -= 1; |
| 37 | if (value < 0) { |
| 38 | value = max; |
| 39 | } |
| 40 | this.changeTime(value); |
| 41 | } |
| 42 | |
| 43 | changeTime (value) { |
| 44 | let d = {}; |
nothing calls this directly
no test coverage detected