import toInteger from '../_lib/toInteger/index' ; import addMonths from '../addMonths/index' ; import requiredArgs from '../_lib/requiredArgs/index' ; name category summary description param { Date | Number } date param { Number } amount returns { Date } throws example export default function addQuarters ( dirtyDate , dirtyAmount ) { requiredArgs ( 2 , arguments ) ; const amount = toInteger ( dirtyAmount ) ; const months = amount * 3 ; return addMonths ( dirtyDate , months ) ; }