/**
 * ページナビの年月を生成する
 */
export const createPagenaviMonthYear = (
  yearValue: number,
  monthValue: number
) => {
  if (monthValue + 1 === 1) {
    return 'January' + ' ' + yearValue
  } else if (monthValue + 1 === 2) {
    return 'February' + ' ' + yearValue
  } else if (monthValue + 1 === 3) {
    return 'March' + ' ' + yearValue
  } else if (monthValue + 1 === 4) {
    return 'April' + ' ' + yearValue
  } else if (monthValue + 1 === 5) {
    return 'May' + ' ' + yearValue
  } else if (monthValue + 1 === 6) {
    return 'June' + ' ' + yearValue
  } else if (monthValue + 1 === 7) {
    return 'July' + ' ' + yearValue
  } else if (monthValue + 1 === 8) {
    return 'August' + ' ' + yearValue
  } else if (monthValue + 1 === 9) {
    return 'September' + ' ' + yearValue
  } else if (monthValue + 1 === 10) {
    return 'October' + ' ' + yearValue
  } else if (monthValue + 1 === 11) {
    return 'November' + ' ' + yearValue
  } else if (monthValue + 1 === 12) {
    return 'December' + ' ' + yearValue
  }

  return ''
}
