addMonth(num, event) {
    event.preventDefault()
    this.setState({
      date: this.startOfMonth().plus(Duration.fromObject({month: num})),
    })
    if (this.props.focuser) {
      this.props.focuser()
    }
  }
/**
   * Move the focus month up n months (or back |n| months if n is negative).
   * It moves it to n months from startOfMonth to handle advancing between
   * months with different numbers of days (2018-01-31 + 1 month in Luxon =
   * 2018-03-03). We actually want Jan -> Feb -> Mar which only works if we do
   * (2018-01-31).startOfMonth() + 1month = 2018-02-01.
   *
   * This function does not change the date in the input (only calendar display,
   * so we can get away with using the first of the month like this.
   * @param {int} num - the number of months to move the focus month
   * @param {Event} event - the event that caused this handler to be invoked
   *   (e.g. the click event from the next or previous button on the calendar)
   * @return {void}
   */
Move the focus month up n months (or back |n| months if n is negative).
It moves it to n months from startOfMonth to handle advancing between
months with different numbers of days (2018-01-31 + 1 month in Luxon
2018-03-03).

This function does not change the date in the input (only calendar display,
so we can get away with using the first of the month like this.
@param {int} num - the number of months to move the focus month
@param {Event} event - the event that caused this handler to be invoked

@return {void}
Move the focus month up n months ( or back |n| months if n is negative ) . It moves it to n months from startOfMonth to handle advancing between months with different numbers of days ( 2018 - 01 - 31 + 1 month in Luxon 2018 - 03 - 03 ) . This function does not change the date in the input ( only calendar display so we can get away with using the first of the month like this . @param { int } num - the number of months to move the focus month @param { Event } event - the event that caused this handler to be invoked @return { void }
addMonth(num, event) {
    event.preventDefault()
    this.setState({
      date: this.startOfMonth().plus(Duration.fromObject({month: num})),
    })
    if (this.props.focuser) {
      this.props.focuser()
    }
  }
addMonth ( num , event ) { event . preventDefault ( ) this . setState ( { date : this . startOfMonth ( ) . plus ( Duration . fromObject ( { month : num } ) ) , } ) if ( this . props . focuser ) { this . props . focuser ( ) } }
Move the focus month up n months (or back |n| months if n is negative).
Move the focus month up n months ( or back |n| months if n is negative ) .