(units)
| 3642 | } |
| 3643 | |
| 3644 | function endOf (units) { |
| 3645 | units = normalizeUnits(units); |
| 3646 | if (units === undefined || units === 'millisecond') { |
| 3647 | return this; |
| 3648 | } |
| 3649 | return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); |
| 3650 | } |
| 3651 | |
| 3652 | function to_type__valueOf () { |
| 3653 | return +this._d - ((this._offset || 0) * 60000); |
nothing calls this directly
no test coverage detected